Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.614/2.614, allocations: 287.3 MB / 302.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 187.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 84.36 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005129, allocations: 11.81 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2102, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9921/1.202, allocations: 180.2 MB / 1.154 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/1.203, allocations: 102.2 kB / 1.154 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4934/1.696, allocations: 112.3 MB / 1.264 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.495e-06/1.696, allocations: 0 / 1.264 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001883/1.696, allocations: 63.98 kB / 1.264 GB, free: 14.62 MB / 0.7917 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.01207/1.709, allocations: 2.52 MB / 1.267 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/1.709, allocations: 12.02 kB / 1.267 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002498/1.711, allocations: 445.8 kB / 1.267 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007018/1.718, allocations: 0.6951 MB / 1.268 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005917/1.724, allocations: 1.62 MB / 1.269 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/1.725, allocations: 217.8 kB / 1.269 GB, free: 9 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.726, allocations: 284 kB / 1.27 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/1.743, allocations: 4.598 MB / 1.274 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001785/1.744, allocations: 7.938 kB / 1.274 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/1.745, allocations: 120 kB / 1.274 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004965/1.745, allocations: 188.6 kB / 1.275 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/1.759, allocations: 3.752 MB / 1.278 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/1.805, allocations: 23.06 MB / 1.301 GB, free: 6.656 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005646/1.811, allocations: 1.571 MB / 1.302 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/1.811, allocations: 93.73 kB / 1.302 GB, free: 4.934 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.811, allocations: 54.98 kB / 1.302 GB, free: 4.871 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.897e-06/1.811, allocations: 4 kB / 1.302 GB, free: 4.867 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.01966/1.831, allocations: 3.549 MB / 1.306 GB, free: 1.289 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.831, allocations: 137.1 kB / 1.306 GB, free: 1.125 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.834, allocations: 0.93 MB / 1.307 GB, free: 192 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/1.834, allocations: 41.7 kB / 1.307 GB, free: 144 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.835, allocations: 1.189 MB / 1.308 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/1.836, allocations: 272.2 kB / 1.308 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.836, allocations: 24 kB / 1.308 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003941/1.837, allocations: 410.7 kB / 1.309 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/1.839, allocations: 0.7872 MB / 1.31 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.842, allocations: 1.279 MB / 1.311 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/1.845, allocations: 1.004 MB / 1.312 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.845, allocations: 4 kB / 1.312 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006666/1.852, allocations: 2.16 MB / 1.314 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002687/1.854, allocations: 5.487 MB / 1.319 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.556e-05/1.855, allocations: 20 kB / 1.319 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.304e-05/1.855, allocations: 24 kB / 1.319 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/1.858, allocations: 415.3 kB / 1.32 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.336e-05/1.858, allocations: 31.86 kB / 1.32 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/1.861, allocations: 255.3 kB / 1.32 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/1.861, allocations: 59.98 kB / 1.32 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.861, allocations: 4 kB / 1.32 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009612/1.871, allocations: 1.753 MB / 1.322 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.163e-05/1.871, allocations: 12 kB / 1.322 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.86e-05/1.871, allocations: 24 kB / 1.322 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005114/1.876, allocations: 359.8 kB / 1.322 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002729/1.877, allocations: 35.88 kB / 1.322 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/1.88, allocations: 179.3 kB / 1.322 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/1.88, allocations: 60 kB / 1.322 GB, free: 15.64 MB / 0.8542 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.004798/1.885, allocations: 1.167 MB / 1.323 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/1.886, allocations: 106.8 kB / 1.324 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.897, allocations: 1.506 MB / 1.325 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/1.897, allocations: 12.14 kB / 1.325 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/1.897, allocations: 7.938 kB / 1.325 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/1.897, allocations: 3.984 kB / 1.325 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/1.922, allocations: 7.273 MB / 1.332 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.923, allocations: 8 kB / 1.332 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.925, allocations: 272.3 kB / 1.332 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/1.925, allocations: 12 kB / 1.332 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.925, allocations: 20 kB / 1.332 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.925, allocations: 19.92 kB / 1.333 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/1.925, allocations: 15.94 kB / 1.333 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/1.932, allocations: 2.417 MB / 1.335 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.933, allocations: 375.6 kB / 1.335 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/1.934, allocations: 27.98 kB / 1.335 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.937, allocations: 139.8 kB / 1.335 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/1.937, allocations: 71.72 kB / 1.335 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.938, allocations: 28 kB / 1.335 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002661/1.94, allocations: 0.7142 MB / 1.336 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.21e-07/1.94, allocations: 0 / 1.336 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006928/1.947, allocations: 0.8242 MB / 1.337 GB, free: 28 kB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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.008445/1.956, allocations: 5.567 MB / 1.342 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.966, allocations: 2.64 MB / 1.345 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.459e-05/1.967, allocations: 7.938 kB / 1.345 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.97, allocations: 0.7284 MB / 1.346 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/1.973, allocations: 254.8 kB / 1.346 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04939/2.023, allocations: 20.32 MB / 1.366 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006452/2.029, allocations: 2.171 MB / 1.368 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005195/2.035, allocations: 0.7422 MB / 1.369 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/2.038, allocations: 0.8117 MB / 1.369 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of SimCode: time 1.663e-06/2.038, allocations: 0 / 1.369 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/2.155, allocations: 30.18 MB / 1.399 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004132/2.155, allocations: 221 kB / 1.399 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/5.537, allocations: 2.188 kB / 1.399 GB, free: 15.73 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)