Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001466/0.001466, allocations: 189.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.62 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02204/0.3428, allocations: 20.28 MB / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3583, allocations: 7.611 MB / 1.095 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.3613, allocations: 51.81 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.3651, allocations: 1.271 MB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3683, allocations: 0.9224 MB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004998/0.3733, allocations: 1.852 MB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005054/0.3783, allocations: 4.355 MB / 1.103 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009689/0.388, allocations: 7.326 MB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.3911, allocations: 1.854 MB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.3941, allocations: 2.318 MB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005809/0.3947, allocations: 428 kB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.3964, allocations: 0.9402 MB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3979, allocations: 1.661 MB / 1.117 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.3996, allocations: 1.712 MB / 1.119 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.4052, allocations: 6.19 MB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4052, allocations: 0 / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.976e-06/0.4053, allocations: 4 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000189/0.4054, allocations: 0 / 1.125 GB, free: 15.79 MB / 0.8887 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.006212/0.4117, allocations: 3.047 MB / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4117, allocations: 12.03 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.4153, allocations: 0.7468 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.4179, allocations: 1.54 MB / 1.13 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.4181, allocations: 222.1 kB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.4186, allocations: 284.4 kB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008929/0.4275, allocations: 5.082 MB / 1.136 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.62e-05/0.4276, allocations: 11.84 kB / 1.136 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.4279, allocations: 120 kB / 1.136 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/0.4282, allocations: 208.6 kB / 1.136 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007349/0.4355, allocations: 4.226 MB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/0.4622, allocations: 23.08 MB / 1.163 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.4653, allocations: 1.719 MB / 1.164 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.467, allocations: 1.153 MB / 1.166 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.4673, allocations: 97.73 kB / 1.166 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.4674, allocations: 47.16 kB / 1.166 GB, free: 3.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.417e-06/0.4674, allocations: 4 kB / 1.166 GB, free: 3.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.006343/0.4738, allocations: 4.008 MB / 1.17 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.4739, allocations: 145.7 kB / 1.17 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.475, allocations: 0.8604 MB / 1.171 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/0.4751, allocations: 41.7 kB / 1.171 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.4765, allocations: 1.17 MB / 1.172 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.4769, allocations: 303.6 kB / 1.172 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.4774, allocations: 274.5 kB / 1.172 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4776, allocations: 410.7 kB / 1.173 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.4789, allocations: 0.8257 MB / 1.174 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.4807, allocations: 1.31 MB / 1.175 GB, free: 10 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.4838, allocations: 2.163 MB / 1.177 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.4838, allocations: 4 kB / 1.177 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003639/0.4875, allocations: 2.219 MB / 1.179 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4875, allocations: 8 kB / 1.179 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.4875, allocations: 16 kB / 1.179 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.4876, allocations: 23.94 kB / 1.179 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.4892, allocations: 411.3 kB / 1.18 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.4892, allocations: 31.88 kB / 1.18 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4907, allocations: 215.4 kB / 1.18 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.4909, allocations: 67.98 kB / 1.18 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002794/0.4937, allocations: 1.681 MB / 1.181 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001518/0.4952, allocations: 1.186 MB / 1.183 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00242/0.4976, allocations: 1.902 MB / 1.184 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/0.4976, allocations: 7.938 kB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003249/0.5009, allocations: 1.929 MB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5009, allocations: 15.98 kB / 1.186 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.501, allocations: 12 kB / 1.186 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.501, allocations: 24 kB / 1.186 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5023, allocations: 364.1 kB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.5023, allocations: 35.86 kB / 1.187 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.5036, allocations: 167.4 kB / 1.187 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/0.5037, allocations: 67.98 kB / 1.187 GB, free: 12.82 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.5041, allocations: 268.4 kB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.5043, allocations: 98.78 kB / 1.187 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.5071, allocations: 1.846 MB / 1.189 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5071, allocations: 12 kB / 1.189 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5072, allocations: 192 / 1.189 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5072, allocations: 3.984 kB / 1.189 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.5207, allocations: 9.595 MB / 1.199 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.5207, allocations: 12 kB / 1.199 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.522, allocations: 316.2 kB / 1.199 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.5221, allocations: 16 kB / 1.199 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/0.5221, allocations: 32 kB / 1.199 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.5222, allocations: 23.88 kB / 1.199 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.5222, allocations: 15.94 kB / 1.199 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.5251, allocations: 2.402 MB / 1.201 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.5258, allocations: 379.5 kB / 1.202 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.5259, allocations: 43.92 kB / 1.202 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.527, allocations: 143.7 kB / 1.202 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.5272, allocations: 87.67 kB / 1.202 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.5273, allocations: 36 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008904/0.5282, allocations: 0.6239 MB / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5282, allocations: 0 / 1.203 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002675/0.5308, allocations: 0.75 MB / 1.203 GB, free: 11.7 MB / 0.9669 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 (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.0002679/0.5311, allocations: 142.9 kB / 1.203 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00503/0.5362, allocations: 3.05 MB / 1.206 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.5362, allocations: 0 / 1.206 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.5376, allocations: 0.9113 MB / 1.207 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.5396, allocations: 313.3 kB / 1.208 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.5489, allocations: 6.21 MB / 1.214 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.551, allocations: 2.124 MB / 1.216 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002106/0.5532, allocations: 0.7462 MB / 1.216 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.5536, allocations: 83.42 kB / 1.217 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.5536, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.03177/0.5854, allocations: 17.85 MB / 1.234 GB, free: 12.23 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)