Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.4 MB / 222.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005153, allocations: 16.62 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2553, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01927/0.2746, allocations: 18.53 MB / 0.8055 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.2859, allocations: 7.174 MB / 0.8125 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2879, allocations: 51.81 kB / 0.8126 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.2891, allocations: 357.3 kB / 0.8129 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.2918, allocations: 0.7508 MB / 0.8136 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.2952, allocations: 1.02 MB / 0.8146 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005978/0.3012, allocations: 4.923 MB / 0.8194 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.3122, allocations: 6.554 MB / 0.8258 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.3151, allocations: 1.281 MB / 0.8271 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.3194, allocations: 1.834 MB / 0.8289 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.3205, allocations: 176 kB / 0.829 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.3225, allocations: 427.6 kB / 0.8295 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00246/0.325, allocations: 1.337 MB / 0.8308 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.3265, allocations: 0.555 MB / 0.8313 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005956/0.3325, allocations: 5.131 MB / 0.8363 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.3326, allocations: 3.938 kB / 0.8363 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.849e-06/0.3326, allocations: 8 kB / 0.8363 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002062/0.3328, allocations: 0 / 0.8363 GB, free: 9.543 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006036/0.3388, allocations: 2.466 MB / 0.8387 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3389, allocations: 12.03 kB / 0.8387 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.3403, allocations: 453.7 kB / 0.8392 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.3436, allocations: 0.6873 MB / 0.8398 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.3466, allocations: 1.508 MB / 0.8413 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3468, allocations: 217.8 kB / 0.8415 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008763/0.3477, allocations: 284 kB / 0.8418 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.3587, allocations: 5.035 MB / 0.8467 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.3589, allocations: 7.938 kB / 0.8467 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007504/0.3596, allocations: 124 kB / 0.8468 GB, free: 14.46 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/0.3599, allocations: 204.6 kB / 0.847 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008/0.3679, allocations: 4.165 MB / 0.8511 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.3985, allocations: 23.01 MB / 0.8736 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.4015, allocations: 1.727 MB / 0.8753 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4032, allocations: 1.118 MB / 0.8764 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.4034, allocations: 109.7 kB / 0.8765 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.4034, allocations: 43.22 kB / 0.8765 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 5.2e-06/0.4035, allocations: 0 / 0.8765 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.007029/0.4105, allocations: 4.005 MB / 0.8804 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.4106, allocations: 141.2 kB / 0.8805 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4118, allocations: 0.8369 MB / 0.8814 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4119, allocations: 41.7 kB / 0.8814 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/0.4126, allocations: 1.173 MB / 0.8825 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.413, allocations: 303.7 kB / 0.8828 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.4131, allocations: 28 kB / 0.8829 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4132, allocations: 406.7 kB / 0.8832 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4144, allocations: 0.7911 MB / 0.884 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.416, allocations: 1.295 MB / 0.8853 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4174, allocations: 0.9983 MB / 0.8863 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.4175, allocations: 4 kB / 0.8863 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003296/0.4208, allocations: 2.163 MB / 0.8884 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/0.4212, allocations: 0.4988 MB / 0.8889 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.4212, allocations: 12 kB / 0.8889 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/0.4213, allocations: 24 kB / 0.8889 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.4228, allocations: 411.3 kB / 0.8893 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/0.4228, allocations: 27.92 kB / 0.8893 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.424, allocations: 199.3 kB / 0.8895 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.4241, allocations: 59.94 kB / 0.8896 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.4242, allocations: 7.938 kB / 0.8896 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002579/0.4267, allocations: 1.76 MB / 0.8913 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.4268, allocations: 12 kB / 0.8913 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4268, allocations: 28.83 kB / 0.8913 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.428, allocations: 359.4 kB / 0.8917 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.91e-05/0.4281, allocations: 35.86 kB / 0.8917 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.429, allocations: 151.3 kB / 0.8919 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4291, allocations: 56 kB / 0.8919 GB, free: 13.54 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001814/0.4309, allocations: 1.169 MB / 0.893 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.4312, allocations: 98.78 kB / 0.8931 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4342, allocations: 1.858 MB / 0.895 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4342, allocations: 11.95 kB / 0.895 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4342, allocations: 4 kB / 0.895 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4343, allocations: 3.984 kB / 0.895 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.448, allocations: 9.58 MB / 0.9043 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/0.4481, allocations: 12 kB / 0.9043 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.4493, allocations: 320.2 kB / 0.9046 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/0.4494, allocations: 19.95 kB / 0.9047 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4495, allocations: 32 kB / 0.9047 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/0.4495, allocations: 23.92 kB / 0.9047 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.4495, allocations: 15.94 kB / 0.9047 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.4524, allocations: 2.41 MB / 0.9071 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.4532, allocations: 387.5 kB / 0.9075 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.4534, allocations: 35.94 kB / 0.9075 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/0.4544, allocations: 139.8 kB / 0.9076 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.4545, allocations: 95.47 kB / 0.9077 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.4546, allocations: 32 kB / 0.9077 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008719/0.4555, allocations: 0.581 MB / 0.9083 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4555, allocations: 0 / 0.9083 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002877/0.4584, allocations: 0.7539 MB / 0.9091 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003457/0.4619, allocations: 2.986 MB / 0.912 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00451/0.4664, allocations: 2.826 MB / 0.9147 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.4664, allocations: 4 kB / 0.9147 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.4678, allocations: 0.916 MB / 0.9156 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.4698, allocations: 273.2 kB / 0.9159 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4006/0.8704, allocations: 11.47 MB / 0.9271 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.8723, allocations: 2.127 MB / 0.9292 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001985/0.8743, allocations: 0.7343 MB / 0.9299 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.8754, allocations: 0.8311 MB / 0.9307 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.8754, allocations: 0 / 0.9307 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05071/0.9261, allocations: 31.12 MB / 0.9611 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.9263, allocations: 202.4 kB / 0.9613 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.318, allocations: 2.031 kB / 0.9613 GB, free: 112.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: