Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.001235/0.001235, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 285.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 94.02 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1688, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3156/0.4844, allocations: 11.07 MB / 0.6924 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.4932, allocations: 5.787 MB / 0.6981 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.4943, allocations: 54.25 kB / 0.6981 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.4982, allocations: 1.725 MB / 0.6998 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.5016, allocations: 1.15 MB / 0.7009 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.5039, allocations: 0.8156 MB / 0.7017 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00306/0.507, allocations: 2.126 MB / 0.7038 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.5087, allocations: 1.306 MB / 0.7051 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.5103, allocations: 0.8497 MB / 0.7059 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.5115, allocations: 0.9066 MB / 0.7068 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.5117, allocations: 118.5 kB / 0.7069 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.5143, allocations: 1.174 MB / 0.7081 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006141/0.515, allocations: 0.5229 MB / 0.7086 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.5158, allocations: 0.7859 MB / 0.7093 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.5198, allocations: 2.418 MB / 0.7117 GB, free: 4.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.5198, allocations: 0.6562 kB / 0.7117 GB, free: 4.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5198, allocations: 5.406 kB / 0.7117 GB, free: 4.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.5199, allocations: 0 / 0.7117 GB, free: 4.156 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003265/0.5231, allocations: 1.87 MB / 0.7135 GB, free: 2.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5232, allocations: 9.625 kB / 0.7135 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.5277, allocations: 0.6713 MB / 0.7142 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.5298, allocations: 1.001 MB / 0.7152 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.5299, allocations: 97.89 kB / 0.7153 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5301, allocations: 126.6 kB / 0.7154 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.5333, allocations: 2.213 MB / 0.7176 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.5334, allocations: 16.39 kB / 0.7176 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.5335, allocations: 61.31 kB / 0.7176 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.5337, allocations: 164.8 kB / 0.7178 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.5366, allocations: 1.869 MB / 0.7196 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.5493, allocations: 12.44 MB / 0.7318 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.5536, allocations: 1.97 MB / 0.7337 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008126/0.5544, allocations: 0.6062 MB / 0.7343 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.5546, allocations: 106.1 kB / 0.7344 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5546, allocations: 43.75 kB / 0.7344 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=103): time 3.807e-06/0.5546, allocations: 1.094 kB / 0.7344 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.006132/0.5608, allocations: 3.711 MB / 0.738 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.5608, allocations: 63.72 kB / 0.7381 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.5619, allocations: 0.9253 MB / 0.739 GB, free: 240 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.562, allocations: 41.95 kB / 0.739 GB, free: 196 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.5625, allocations: 0.7251 MB / 0.7398 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.5628, allocations: 388.2 kB / 0.7401 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/0.5632, allocations: 286 kB / 0.7404 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5633, allocations: 302.2 kB / 0.7407 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.5642, allocations: 0.6171 MB / 0.7413 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.5657, allocations: 1.106 MB / 0.7424 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.5682, allocations: 1.83 MB / 0.7442 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5682, allocations: 4.969 kB / 0.7442 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003516/0.5717, allocations: 2.104 MB / 0.7462 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5718, allocations: 11 kB / 0.7462 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5718, allocations: 20.19 kB / 0.7462 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/0.5725, allocations: 258.6 kB / 0.7465 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5738, allocations: 374.4 kB / 0.7468 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/0.5831, allocations: 11.58 MB / 0.7582 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5845, allocations: 123.8 kB / 0.7583 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5847, allocations: 75.92 kB / 0.7583 GB, free: 13.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007453/0.5854, allocations: 401.2 kB / 0.7587 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5856, allocations: 130.5 kB / 0.7589 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.5884, allocations: 1.69 MB / 0.7605 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5885, allocations: 12 kB / 0.7605 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5885, allocations: 4 kB / 0.7605 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5885, allocations: 3.984 kB / 0.7605 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.5933, allocations: 3.283 MB / 0.7637 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5933, allocations: 8.688 kB / 0.7637 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.5941, allocations: 223.6 kB / 0.7639 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.5947, allocations: 246.6 kB / 0.7642 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.5948, allocations: 27.94 kB / 0.7642 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008287/0.6031, allocations: 11.56 MB / 0.7755 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.6031, allocations: 19.92 kB / 0.7755 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.6059, allocations: 1.796 MB / 0.7773 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.6066, allocations: 307.4 kB / 0.7776 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6068, allocations: 24 kB / 0.7776 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.6075, allocations: 87.88 kB / 0.7777 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6077, allocations: 104.7 kB / 0.7778 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.6077, allocations: 31.98 kB / 0.7778 GB, free: 8.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007566/0.6085, allocations: 0.6216 MB / 0.7784 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6085, allocations: 0 / 0.7784 GB, free: 7.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001456/0.61, allocations: 388 kB / 0.7788 GB, free: 7.328 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.6102, allocations: 148.1 kB / 0.7789 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003314/0.6135, allocations: 2.509 MB / 0.7814 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6135, allocations: 4 kB / 0.7814 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.6155, allocations: 1.625 MB / 0.783 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.617, allocations: 355.1 kB / 0.7833 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.6209, allocations: 2.747 MB / 0.786 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.6218, allocations: 1.331 MB / 0.7873 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008082/0.6226, allocations: 359.3 kB / 0.7876 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.6229, allocations: 95.42 kB / 0.7877 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.6229, allocations: 0 / 0.7877 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.02576/0.6487, allocations: 17.1 MB / 0.8044 GB, free: 12.91 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)