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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001716/0.001716, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002621/0.002621, allocations: 194.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.726/1.726, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001411/0.001412, allocations: 67.38 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02244/0.3122, allocations: 20.26 MB / 0.8027 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.325, allocations: 7.503 MB / 0.81 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/0.3276, allocations: 59.69 kB / 0.81 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003955/0.3316, allocations: 1.245 MB / 0.8113 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.3352, allocations: 0.9029 MB / 0.8121 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.3408, allocations: 1.859 MB / 0.814 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005946/0.3468, allocations: 4.343 MB / 0.8182 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.3589, allocations: 7.321 MB / 0.8253 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.3626, allocations: 1.858 MB / 0.8272 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/0.3669, allocations: 2.314 MB / 0.8294 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.3684, allocations: 432 kB / 0.8298 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.3713, allocations: 0.9167 MB / 0.8307 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002827/0.3741, allocations: 1.661 MB / 0.8323 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003428/0.3775, allocations: 1.708 MB / 0.834 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.3839, allocations: 6.17 MB / 0.84 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.384, allocations: 0 / 0.84 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.384, allocations: 0 / 0.84 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001968/0.3842, allocations: 0 / 0.84 GB, free: 3.105 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.008259/0.3925, allocations: 3.036 MB / 0.843 GB, free: 8 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.3925, allocations: 12.02 kB / 0.843 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.3959, allocations: 0.6766 MB / 0.8437 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.3997, allocations: 1.54 MB / 0.8452 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.4, allocations: 226.1 kB / 0.8454 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.4012, allocations: 280.4 kB / 0.8457 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.4123, allocations: 5.055 MB / 0.8506 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/0.4125, allocations: 11.84 kB / 0.8506 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/0.4128, allocations: 120 kB / 0.8507 GB, free: 7.863 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.4131, allocations: 208.6 kB / 0.8509 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008164/0.4213, allocations: 4.184 MB / 0.855 GB, free: 3.457 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02756/0.4489, allocations: 23.01 MB / 0.8775 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.452, allocations: 1.712 MB / 0.8792 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.454, allocations: 1.126 MB / 0.8803 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.4543, allocations: 109.7 kB / 0.8804 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.4544, allocations: 43.22 kB / 0.8804 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 4.207e-06/0.4544, allocations: 0 / 0.8804 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.006643/0.461, allocations: 3.989 MB / 0.8843 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.4612, allocations: 141.2 kB / 0.8844 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4623, allocations: 0.8487 MB / 0.8853 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.4624, allocations: 41.7 kB / 0.8853 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.4631, allocations: 1.162 MB / 0.8864 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.4634, allocations: 311.6 kB / 0.8867 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.4638, allocations: 274.5 kB / 0.887 GB, free: 396 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.464, allocations: 410.7 kB / 0.8874 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.4651, allocations: 0.8023 MB / 0.8882 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4666, allocations: 1.291 MB / 0.8894 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.4691, allocations: 2.14 MB / 0.8915 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4691, allocations: 8 kB / 0.8915 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003245/0.4724, allocations: 2.171 MB / 0.8936 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4724, allocations: 12 kB / 0.8937 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.4725, allocations: 12 kB / 0.8937 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.4725, allocations: 20 kB / 0.8937 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.474, allocations: 412 kB / 0.8941 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.951e-05/0.4741, allocations: 31.86 kB / 0.8941 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4755, allocations: 195.3 kB / 0.8943 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.4757, allocations: 63.98 kB / 0.8944 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003318/0.479, allocations: 1.658 MB / 0.896 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001648/0.4806, allocations: 1.17 MB / 0.8971 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002429/0.4831, allocations: 1.871 MB / 0.8989 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.4831, allocations: 11.88 kB / 0.899 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003209/0.4863, allocations: 1.883 MB / 0.9008 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4864, allocations: 12.03 kB / 0.9008 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4864, allocations: 16 kB / 0.9008 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.4864, allocations: 27.98 kB / 0.9009 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.4877, allocations: 355.3 kB / 0.9012 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.209e-05/0.4877, allocations: 27.92 kB / 0.9012 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4889, allocations: 163.3 kB / 0.9014 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.489, allocations: 63.98 kB / 0.9014 GB, free: 0.6953 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.4895, allocations: 271.9 kB / 0.9017 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.4897, allocations: 103 kB / 0.9018 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.4925, allocations: 1.839 MB / 0.9036 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4925, allocations: 12 kB / 0.9036 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4925, allocations: 0 / 0.9036 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4925, allocations: 3.984 kB / 0.9036 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.5067, allocations: 9.584 MB / 0.913 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.5068, allocations: 8 kB / 0.913 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.5081, allocations: 319.4 kB / 0.9133 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/0.5081, allocations: 16 kB / 0.9133 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.5082, allocations: 32 kB / 0.9133 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-05/0.5082, allocations: 24.3 kB / 0.9133 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/0.5083, allocations: 23.94 kB / 0.9134 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.5113, allocations: 2.394 MB / 0.9157 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.512, allocations: 367.6 kB / 0.9161 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5122, allocations: 39.94 kB / 0.9161 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009431/0.5131, allocations: 139.7 kB / 0.9162 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.5133, allocations: 95.39 kB / 0.9163 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.5134, allocations: 36 kB / 0.9164 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008728/0.5143, allocations: 0.5849 MB / 0.9169 GB, free: 396 kB / 0.7325 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5143, allocations: 0 / 0.9169 GB, free: 396 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.511/1.025, allocations: 0.7486 MB / 0.9177 GB, free: 127.6 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 (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.0003687/1.026, allocations: 144.4 kB / 0.9178 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005579/1.031, allocations: 2.998 MB / 0.9207 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/1.031, allocations: 5.094 kB / 0.9207 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.033, allocations: 0.9064 MB / 0.9216 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.035, allocations: 311.6 kB / 0.9219 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/1.043, allocations: 6.212 MB / 0.928 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.045, allocations: 2.125 MB / 0.93 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002236/1.047, allocations: 0.7377 MB / 0.9308 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/1.048, allocations: 81.22 kB / 0.9308 GB, free: 123 MB / 0.7325 GB Notification: Performance of SimCode: time 1.323e-06/1.048, allocations: 2 kB / 0.9308 GB, free: 123 MB / 0.7325 GB Notification: Performance of Templates: time 0.04038/1.088, allocations: 17.27 MB / 0.9477 GB, free: 119 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)