Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 103.1 kB / 16.64 MB, free: 6.77 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.001272/0.001272, allocations: 189.9 kB / 17.56 MB, free: 5.922 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.383/1.383, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8002/0.8002, allocations: 125.3 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 0.4943 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3625, allocations: 78.56 MB / 0.571 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02958/0.3922, allocations: 32.3 MB / 0.6026 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.407, allocations: 10.16 MB / 0.6125 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.4104, allocations: 131.3 kB / 0.6126 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009302/0.4197, allocations: 3.499 MB / 0.616 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.4258, allocations: 1.706 MB / 0.6177 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.4317, allocations: 1.941 MB / 0.6196 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4421, allocations: 7.359 MB / 0.6268 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.4598, allocations: 11.6 MB / 0.6381 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/0.4654, allocations: 3.22 MB / 0.6413 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005893/0.4713, allocations: 3.657 MB / 0.6448 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.4729, allocations: 0.6445 MB / 0.6455 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.4769, allocations: 1.771 MB / 0.6472 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.4802, allocations: 2.546 MB / 0.6497 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0058/0.486, allocations: 2.898 MB / 0.6525 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.4966, allocations: 8.637 MB / 0.6609 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4967, allocations: 4 kB / 0.6609 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4967, allocations: 4 kB / 0.6609 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002956/0.497, allocations: 0 / 0.6609 GB, free: 11.46 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01287/0.5099, allocations: 4.984 MB / 0.6658 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5099, allocations: 8.031 kB / 0.6658 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.5156, allocations: 0.959 MB / 0.6667 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006559/0.5222, allocations: 2.851 MB / 0.6695 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.5226, allocations: 353.7 kB / 0.6699 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/0.5241, allocations: 460.2 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.5413, allocations: 7.675 MB / 0.6778 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.5415, allocations: 27.69 kB / 0.6778 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005904/0.5421, allocations: 200 kB / 0.678 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003853/0.5425, allocations: 316.9 kB / 0.6783 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.5544, allocations: 5.714 MB / 0.6839 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04481/0.5992, allocations: 35.09 MB / 0.7182 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.6024, allocations: 2.158 MB / 0.7203 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.6042, allocations: 1.257 MB / 0.7215 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.6043, allocations: 17.31 kB / 0.7215 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.6044, allocations: 51.81 kB / 0.7216 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 2.795e-06/0.6044, allocations: 0 / 0.7216 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01484/0.6192, allocations: 7.088 MB / 0.7285 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.6193, allocations: 68.72 kB / 0.7286 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.6217, allocations: 1.484 MB / 0.73 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6218, allocations: 53.7 kB / 0.7301 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.6233, allocations: 1.996 MB / 0.732 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.6239, allocations: 493 kB / 0.7325 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/0.6245, allocations: 351.1 kB / 0.7328 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6247, allocations: 301.1 kB / 0.7331 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.6261, allocations: 0.9096 MB / 0.734 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.6282, allocations: 1.593 MB / 0.7355 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/0.6319, allocations: 2.745 MB / 0.7382 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.6319, allocations: 8 kB / 0.7382 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006659/0.6386, allocations: 3.526 MB / 0.7417 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.6386, allocations: 12 kB / 0.7417 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/0.6387, allocations: 28.81 kB / 0.7417 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.6414, allocations: 0.9154 MB / 0.7426 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.6427, allocations: 347.4 kB / 0.7429 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.284/0.9267, allocations: 23.11 MB / 0.7655 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.9285, allocations: 107.8 kB / 0.7656 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.9287, allocations: 82.34 kB / 0.7657 GB, free: 133.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003065/0.9317, allocations: 1.612 MB / 0.7673 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/0.9323, allocations: 202 kB / 0.7675 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005284/0.9376, allocations: 2.993 MB / 0.7704 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.9376, allocations: 12.38 kB / 0.7704 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.9376, allocations: 14.22 kB / 0.7704 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.9377, allocations: 7.969 kB / 0.7704 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.9484, allocations: 7.335 MB / 0.7776 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.9484, allocations: 5.156 kB / 0.7776 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/0.9492, allocations: 181.2 kB / 0.7778 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.9515, allocations: 0.8284 MB / 0.7786 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.9516, allocations: 31.5 kB / 0.7786 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.967, allocations: 21.96 MB / 0.8 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9671, allocations: 7.562 kB / 0.8 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.9714, allocations: 3.025 MB / 0.803 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008391/0.9723, allocations: 458.3 kB / 0.8034 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.9725, allocations: 31.33 kB / 0.8035 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.9733, allocations: 66.77 kB / 0.8035 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.9737, allocations: 132.8 kB / 0.8037 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/0.9738, allocations: 34.12 kB / 0.8037 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001102/0.9749, allocations: 0.9781 MB / 0.8046 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9749, allocations: 0 / 0.8046 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002656/0.9776, allocations: 0.789 MB / 0.8054 GB, free: 105.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002505/0.9778, allocations: 138.9 kB / 0.8055 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005821/0.9837, allocations: 4.657 MB / 0.8101 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.9837, allocations: 4 kB / 0.8101 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002941/0.9866, allocations: 2.724 MB / 0.8128 GB, free: 99.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.9897, allocations: 0.7227 MB / 0.8135 GB, free: 98.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.001, allocations: 9.802 MB / 0.823 GB, free: 88.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.004, allocations: 3.186 MB / 0.8261 GB, free: 85.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/1.005, allocations: 123.4 kB / 0.8263 GB, free: 85.45 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/1.005, allocations: 0 / 0.8263 GB, free: 85.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.4983/1.503, allocations: 321.5 MB / 1.14 GB, free: 117.1 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)