Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 89.66 kB / 16.67 MB, free: 6.594 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.001222/0.001222, allocations: 187.7 kB / 17.58 MB, free: 6.188 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.34/1.34, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7313/0.7313, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4477, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04208/0.4898, allocations: 32.19 MB / 0.592 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.5165, allocations: 14.64 MB / 0.6063 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005439/0.522, allocations: 131.8 kB / 0.6064 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.5257, allocations: 0.7236 MB / 0.6071 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.5371, allocations: 2.701 MB / 0.6098 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00686/0.544, allocations: 1.988 MB / 0.6117 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01599/0.5601, allocations: 12.21 MB / 0.6236 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02111/0.5812, allocations: 11.5 MB / 0.6349 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007037/0.5883, allocations: 2.973 MB / 0.6378 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.5953, allocations: 3.507 MB / 0.6412 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001947/0.5973, allocations: 296 kB / 0.6415 GB, free: 324 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005517/0.6029, allocations: 1.56 MB / 0.643 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004015/0.6069, allocations: 2.287 MB / 0.6452 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005397/0.6123, allocations: 2.796 MB / 0.648 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.6236, allocations: 9.198 MB / 0.657 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6237, allocations: 0 / 0.657 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6237, allocations: 0 / 0.657 GB, free: 432 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003278/0.624, allocations: 0 / 0.657 GB, free: 432 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01292/0.6369, allocations: 4.833 MB / 0.6617 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.637, allocations: 11.97 kB / 0.6617 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008254/0.6453, allocations: 1.149 MB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/0.6531, allocations: 3.328 MB / 0.6661 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.6534, allocations: 370.4 kB / 0.6664 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.6551, allocations: 0.496 MB / 0.6669 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.6718, allocations: 8.009 MB / 0.6747 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.672, allocations: 27.77 kB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006428/0.6727, allocations: 216 kB / 0.675 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.6738, allocations: 437.6 kB / 0.6754 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.6869, allocations: 6.077 MB / 0.6813 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04645/0.7334, allocations: 35.23 MB / 0.7157 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.7367, allocations: 2.028 MB / 0.7177 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.7395, allocations: 1.85 MB / 0.7195 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.7397, allocations: 18 kB / 0.7195 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.7397, allocations: 60.5 kB / 0.7196 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 3.436e-06/0.7398, allocations: 4 kB / 0.7196 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.4969/1.237, allocations: 39.01 MB / 0.7577 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.237, allocations: 80.58 kB / 0.7577 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/1.242, allocations: 2.28 MB / 0.76 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/1.242, allocations: 72.92 kB / 0.76 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.244, allocations: 2.282 MB / 0.7623 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/1.245, allocations: 0.9255 MB / 0.7632 GB, free: 153 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/1.245, allocations: 233.2 kB / 0.7634 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/1.246, allocations: 306.9 kB / 0.7637 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.249, allocations: 1.975 MB / 0.7656 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/1.252, allocations: 2.6 MB / 0.7682 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/1.259, allocations: 4.931 MB / 0.773 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/1.259, allocations: 4.844 kB / 0.773 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01638/1.276, allocations: 7.752 MB / 0.7805 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/1.276, allocations: 14.66 kB / 0.7806 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/1.276, allocations: 20.75 kB / 0.7806 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008944/1.285, allocations: 3.225 MB / 0.7837 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.287, allocations: 413.4 kB / 0.7841 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03394/1.321, allocations: 31.16 MB / 0.8146 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/1.324, allocations: 171.8 kB / 0.8147 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/1.324, allocations: 110.7 kB / 0.8148 GB, free: 115 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002969/1.327, allocations: 1.795 MB / 0.8166 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/1.328, allocations: 332.1 kB / 0.8169 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.34, allocations: 7.353 MB / 0.8241 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.34, allocations: 28 kB / 0.8241 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/1.34, allocations: 28 kB / 0.8241 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/1.34, allocations: 12.47 kB / 0.8241 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.36, allocations: 12.95 MB / 0.8368 GB, free: 92.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.36, allocations: 4 kB / 0.8368 GB, free: 92.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/1.361, allocations: 235.1 kB / 0.837 GB, free: 92.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007105/1.368, allocations: 2.847 MB / 0.8398 GB, free: 89.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/1.369, allocations: 56 kB / 0.8398 GB, free: 89.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03216/1.401, allocations: 29.98 MB / 0.8691 GB, free: 58.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.401, allocations: 8 kB / 0.8691 GB, free: 58.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.412, allocations: 6.875 MB / 0.8758 GB, free: 51.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.413, allocations: 0.7859 MB / 0.8766 GB, free: 50.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/1.414, allocations: 56 kB / 0.8767 GB, free: 50.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.416, allocations: 171.8 kB / 0.8768 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007763/1.416, allocations: 249.5 kB / 0.8771 GB, free: 49.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.417, allocations: 76 kB / 0.8771 GB, free: 49.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001787/1.418, allocations: 1.529 MB / 0.8786 GB, free: 48.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.418, allocations: 0 / 0.8786 GB, free: 48.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004114/1.422, allocations: 1.375 MB / 0.88 GB, free: 46.99 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003443/1.423, allocations: 175 kB / 0.8801 GB, free: 46.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009763/1.433, allocations: 6.904 MB / 0.8869 GB, free: 39.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.433, allocations: 4 kB / 0.8869 GB, free: 39.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006581/1.439, allocations: 4.419 MB / 0.8912 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008486/1.448, allocations: 1.04 MB / 0.8922 GB, free: 34.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.468, allocations: 13.17 MB / 0.9051 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.473, allocations: 3.753 MB / 0.9087 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.474, allocations: 171.4 kB / 0.9089 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/1.474, allocations: 4 kB / 0.9089 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.5167/1.99, allocations: 226.6 MB / 1.13 GB, free: 83.19 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)