Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 176.1 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205 MB / 0.576 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006172/0.0006172, allocations: 86.97 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 9.5 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01274/0.1829, allocations: 16.29 MB / 0.9121 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007489/0.1904, allocations: 6.333 MB / 0.9183 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1915, allocations: 47.81 kB / 0.9183 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.194, allocations: 1.189 MB / 0.9195 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1955, allocations: 0.7941 MB / 0.9203 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.1982, allocations: 1.431 MB / 0.9217 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003473/0.2017, allocations: 5.778 MB / 0.9273 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.2071, allocations: 5.569 MB / 0.9328 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2087, allocations: 1.168 MB / 0.9339 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.2105, allocations: 1.717 MB / 0.9356 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.2108, allocations: 164 kB / 0.9357 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2121, allocations: 0.7409 MB / 0.9365 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.2131, allocations: 1.224 MB / 0.9377 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.2141, allocations: 1.225 MB / 0.9389 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.2175, allocations: 5.276 MB / 0.944 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2175, allocations: 0 / 0.944 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2175, allocations: 0 / 0.944 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001194/0.2177, allocations: 0 / 0.944 GB, free: 18.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.003603/0.2213, allocations: 2.192 MB / 0.9461 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2213, allocations: 20.02 kB / 0.9462 GB, free: 16.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.2217, allocations: 403.7 kB / 0.9465 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.2249, allocations: 0.8017 MB / 0.9473 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.2268, allocations: 1.403 MB / 0.9487 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.2269, allocations: 193.5 kB / 0.9489 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.2272, allocations: 252.3 kB / 0.9491 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/0.2327, allocations: 4.583 MB / 0.9536 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.2328, allocations: 7.938 kB / 0.9536 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.233, allocations: 108 kB / 0.9537 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.2332, allocations: 180.3 kB / 0.9539 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/0.2378, allocations: 3.835 MB / 0.9576 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.2571, allocations: 21.44 MB / 0.9786 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.2594, allocations: 2.236 MB / 0.9807 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008942/0.2603, allocations: 0.7253 MB / 0.9815 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.2604, allocations: 15.94 kB / 0.9815 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2604, allocations: 46.5 kB / 0.9815 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.2604, allocations: 0 / 0.9815 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.004817/0.2652, allocations: 4.188 MB / 0.9856 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.2653, allocations: 244.4 kB / 0.9858 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.2665, allocations: 1.123 MB / 0.9869 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.2666, allocations: 37.7 kB / 0.987 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.2672, allocations: 1.184 MB / 0.9881 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.2674, allocations: 252.6 kB / 0.9884 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2675, allocations: 121.7 kB / 0.9885 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2676, allocations: 345.9 kB / 0.9888 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.2685, allocations: 0.7026 MB / 0.9895 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.2697, allocations: 1.403 MB / 0.9909 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.2718, allocations: 2.166 MB / 0.993 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.2718, allocations: 4 kB / 0.993 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00274/0.2745, allocations: 2.187 MB / 0.9951 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004007/0.2749, allocations: 0.7867 MB / 0.9959 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.275, allocations: 24 kB / 0.9959 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/0.275, allocations: 36 kB / 0.996 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.2763, allocations: 427.2 kB / 0.9964 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.689e-05/0.2763, allocations: 55.84 kB / 0.9964 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.2774, allocations: 187.4 kB / 0.9966 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2775, allocations: 87.92 kB / 0.9967 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.2775, allocations: 4 kB / 0.9967 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002208/0.2797, allocations: 1.856 MB / 0.9985 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.2797, allocations: 28.25 kB / 0.9985 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.2798, allocations: 35.94 kB / 0.9986 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2808, allocations: 391.3 kB / 0.9989 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/0.2809, allocations: 51.78 kB / 0.999 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.2816, allocations: 131.5 kB / 0.9991 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/0.2817, allocations: 83.98 kB / 0.9992 GB, free: 6.707 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.2835, allocations: 1.129 MB / 1 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.2838, allocations: 110.7 kB / 1 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.2853, allocations: 1.091 MB / 1.001 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2853, allocations: 8 kB / 1.001 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.2853, allocations: 4 kB / 1.001 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2853, allocations: 7.984 kB / 1.001 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.2978, allocations: 10.17 MB / 1.011 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.2978, allocations: 16.56 kB / 1.011 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.2985, allocations: 203.5 kB / 1.012 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/0.2985, allocations: 20 kB / 1.012 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.2986, allocations: 35.94 kB / 1.012 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.489e-05/0.2986, allocations: 31.86 kB / 1.012 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/0.2986, allocations: 19.94 kB / 1.012 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.3007, allocations: 2.17 MB / 1.014 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.3012, allocations: 323.5 kB / 1.014 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3013, allocations: 35.92 kB / 1.014 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.3022, allocations: 91.88 kB / 1.014 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3024, allocations: 103.5 kB / 1.014 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.3024, allocations: 40 kB / 1.014 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009713/0.3034, allocations: 0.7658 MB / 1.015 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3034, allocations: 0 / 1.015 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002605/0.306, allocations: 0.7266 MB / 1.016 GB, free: 5.098 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.3085, allocations: 2.738 MB / 1.019 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003401/0.3119, allocations: 2.476 MB / 1.021 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.3119, allocations: 4.125 kB / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.3126, allocations: 0.5726 MB / 1.022 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.3163, allocations: 257.9 kB / 1.022 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.3369, allocations: 16.47 MB / 1.038 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.3388, allocations: 2.007 MB / 1.04 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001989/0.3408, allocations: 0.856 MB / 1.041 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008823/0.3417, allocations: 0.7258 MB / 1.041 GB, free: 9.445 MB / 0.698 GB Notification: Performance of SimCode: time 7.02e-07/0.3417, allocations: 0 / 1.041 GB, free: 9.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/1.508, allocations: 27.53 MB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.508, allocations: 246.1 kB / 1.068 GB, free: 139 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.341, allocations: 0 / 1.068 GB, free: 139 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)