Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 109.9 kB / 16.41 MB, free: 6.027 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.0019/0.0019, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002334/0.002334, allocations: 282.2 kB / 291.5 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.9868/0.9868, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4371, allocations: 86.98 MB / 0.767 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005713/0.4429, allocations: 4.275 MB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.4463, allocations: 2.373 MB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.4465, allocations: 19.81 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4475, allocations: 372.5 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.4482, allocations: 374.2 kB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.4488, allocations: 315.2 kB / 0.7746 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.4495, allocations: 0.6788 MB / 0.7752 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.4499, allocations: 275.5 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.4502, allocations: 251.1 kB / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.4506, allocations: 270.8 kB / 0.776 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.4507, allocations: 28 kB / 0.776 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.4513, allocations: 431 kB / 0.7764 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.4515, allocations: 139.6 kB / 0.7766 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.4517, allocations: 242.7 kB / 0.7768 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.4525, allocations: 0.7345 MB / 0.7775 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4526, allocations: 0 / 0.7775 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4526, allocations: 0 / 0.7775 GB, free: 9.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.4526, allocations: 0 / 0.7775 GB, free: 9.016 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001199/0.4538, allocations: 0.7832 MB / 0.7783 GB, free: 8.184 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4538, allocations: 15.97 kB / 0.7783 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.4552, allocations: 188.1 kB / 0.7785 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.4558, allocations: 428.5 kB / 0.7789 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4558, allocations: 33.36 kB / 0.7789 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.4559, allocations: 32.31 kB / 0.7789 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/0.4567, allocations: 0.651 MB / 0.7796 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4567, allocations: 3.938 kB / 0.7796 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.4568, allocations: 27.98 kB / 0.7796 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.317e-05/0.4568, allocations: 51.95 kB / 0.7797 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.4575, allocations: 495.3 kB / 0.7801 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.4606, allocations: 3.778 MB / 0.7838 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.4623, allocations: 0.6476 MB / 0.7845 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.4625, allocations: 174.5 kB / 0.7846 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4626, allocations: 7.984 kB / 0.7846 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4626, allocations: 42.5 kB / 0.7847 GB, free: 1.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.4626, allocations: 0 / 0.7847 GB, free: 1.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002167/0.4648, allocations: 1.269 MB / 0.7859 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4648, allocations: 106.8 kB / 0.786 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.4653, allocations: 405.7 kB / 0.7864 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4653, allocations: 33.7 kB / 0.7864 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4655, allocations: 275.5 kB / 0.7867 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.4656, allocations: 118.3 kB / 0.7868 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4657, allocations: 94.16 kB / 0.7869 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4659, allocations: 366.7 kB / 0.7872 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.4661, allocations: 173 kB / 0.7874 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.4665, allocations: 371.3 kB / 0.7878 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.4672, allocations: 0.5954 MB / 0.7883 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4672, allocations: 3.938 kB / 0.7883 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001012/0.4682, allocations: 0.6825 MB / 0.789 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4682, allocations: 11.94 kB / 0.789 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.4683, allocations: 4.719 kB / 0.789 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.4686, allocations: 102.4 kB / 0.7891 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.469, allocations: 111.8 kB / 0.7892 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.4723, allocations: 4.347 MB / 0.7935 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4726, allocations: 27.98 kB / 0.7935 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.4727, allocations: 27.98 kB / 0.7935 GB, free: 7.348 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002225/0.4729, allocations: 201.6 kB / 0.7937 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.473, allocations: 47.44 kB / 0.7938 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/0.4739, allocations: 0.5108 MB / 0.7943 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4739, allocations: 4 kB / 0.7943 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4739, allocations: 8 kB / 0.7943 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4739, allocations: 0 / 0.7943 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4756, allocations: 1.295 MB / 0.7955 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4756, allocations: 0 / 0.7955 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.4758, allocations: 67.89 kB / 0.7956 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.4761, allocations: 82.52 kB / 0.7957 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4761, allocations: 8.281 kB / 0.7957 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00306/0.4792, allocations: 4.337 MB / 0.7999 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4792, allocations: 8.016 kB / 0.7999 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/0.4801, allocations: 0.783 MB / 0.8007 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.4803, allocations: 156.4 kB / 0.8009 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.4803, allocations: 8 kB / 0.8009 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4806, allocations: 23.97 kB / 0.8009 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.4807, allocations: 35.84 kB / 0.8009 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.4807, allocations: 12 kB / 0.8009 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002653/0.481, allocations: 283.1 kB / 0.8012 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.481, allocations: 0 / 0.8012 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006114/0.4816, allocations: 120 kB / 0.8013 GB, free: 14.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001308/0.4817, allocations: 110.6 kB / 0.8014 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.4829, allocations: 0.8094 MB / 0.8022 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4829, allocations: 4 kB / 0.8022 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.4835, allocations: 0.5352 MB / 0.8027 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.4844, allocations: 140.7 kB / 0.8029 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4857, allocations: 0.9425 MB / 0.8038 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.4862, allocations: 0.8663 MB / 0.8046 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4864, allocations: 39.44 kB / 0.8047 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.4864, allocations: 0 / 0.8047 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.0123/0.4987, allocations: 11.14 MB / 0.8156 GB, free: 28 kB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)