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.0009848/0.0009849, allocations: 91.66 kB / 16.67 MB, free: 6.113 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.001034/0.001034, allocations: 179.8 kB / 17.57 MB, free: 5.828 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.303/1.303, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3957, allocations: 77.51 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03045/0.4262, allocations: 31.51 MB / 0.5914 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4424, allocations: 10.17 MB / 0.6013 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.4461, allocations: 124.8 kB / 0.6014 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.4485, allocations: 0.6345 MB / 0.602 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.4543, allocations: 1.736 MB / 0.6037 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.4593, allocations: 1.762 MB / 0.6055 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4703, allocations: 10.57 MB / 0.6158 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01829/0.4886, allocations: 12.08 MB / 0.6276 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.4933, allocations: 2.24 MB / 0.6298 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.4983, allocations: 2.958 MB / 0.6327 GB, free: 9.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009872/0.4993, allocations: 264 kB / 0.6329 GB, free: 9.152 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.5033, allocations: 1.696 MB / 0.6346 GB, free: 7.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.506, allocations: 2.058 MB / 0.6366 GB, free: 5.391 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.5097, allocations: 2.341 MB / 0.6389 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5198, allocations: 8.4 MB / 0.6471 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5198, allocations: 0 / 0.6471 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.5198, allocations: 3.938 kB / 0.6471 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002945/0.5201, allocations: 0 / 0.6471 GB, free: 10.61 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00943/0.5296, allocations: 4.015 MB / 0.651 GB, free: 6.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5296, allocations: 11.97 kB / 0.651 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006148/0.5358, allocations: 0.9551 MB / 0.6519 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/0.5414, allocations: 2.855 MB / 0.6547 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.5418, allocations: 353.7 kB / 0.6551 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.5431, allocations: 464.2 kB / 0.6555 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.5584, allocations: 7.663 MB / 0.663 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/0.5587, allocations: 27.72 kB / 0.663 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.5597, allocations: 204 kB / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004453/0.5602, allocations: 312.9 kB / 0.6635 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.5721, allocations: 5.71 MB / 0.6691 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0415/0.6136, allocations: 35.14 MB / 0.7034 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.6173, allocations: 2.167 MB / 0.7055 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/0.6194, allocations: 1.264 MB / 0.7067 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.6196, allocations: 13.31 kB / 0.7068 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.6196, allocations: 47.88 kB / 0.7068 GB, free: 9.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=133): time 3.817e-06/0.6196, allocations: 0 / 0.7068 GB, free: 9.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=136): time 0.016/0.6356, allocations: 7.131 MB / 0.7138 GB, free: 2.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.6357, allocations: 68.72 kB / 0.7138 GB, free: 2.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.6387, allocations: 1.476 MB / 0.7153 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.6389, allocations: 49.69 kB / 0.7153 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.6405, allocations: 2.008 MB / 0.7173 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000592/0.6411, allocations: 493 kB / 0.7178 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.6415, allocations: 153.6 kB / 0.7179 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6416, allocations: 301.1 kB / 0.7182 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.6431, allocations: 0.9096 MB / 0.7191 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.6452, allocations: 1.593 MB / 0.7206 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.6491, allocations: 2.733 MB / 0.7233 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.6492, allocations: 4 kB / 0.7233 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007195/0.6564, allocations: 3.534 MB / 0.7268 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.6565, allocations: 12 kB / 0.7268 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/0.6565, allocations: 27.98 kB / 0.7268 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.6593, allocations: 0.9003 MB / 0.7277 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.6607, allocations: 351.4 kB / 0.728 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2925/0.9531, allocations: 21.22 MB / 0.7487 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.9548, allocations: 105.9 kB / 0.7488 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.9552, allocations: 92.55 kB / 0.7489 GB, free: 151.7 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.00313/0.9583, allocations: 1.608 MB / 0.7505 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/0.9589, allocations: 202 kB / 0.7507 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/0.9651, allocations: 2.99 MB / 0.7536 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.9652, allocations: 13.25 kB / 0.7536 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-05/0.9652, allocations: 14.81 kB / 0.7536 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.9652, allocations: 12.86 kB / 0.7536 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.9802, allocations: 7.333 MB / 0.7608 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.9803, allocations: 4.656 kB / 0.7608 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008992/0.9812, allocations: 176.5 kB / 0.761 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.9839, allocations: 0.8234 MB / 0.7618 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.9841, allocations: 30.75 kB / 0.7618 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1, allocations: 20.32 MB / 0.7817 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1, allocations: 5.766 kB / 0.7817 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/1.006, allocations: 3.027 MB / 0.7846 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.007, allocations: 463.4 kB / 0.7851 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.007, allocations: 28.5 kB / 0.7851 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.008, allocations: 74.53 kB / 0.7852 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/1.009, allocations: 127.9 kB / 0.7853 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.009, allocations: 36.53 kB / 0.7853 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001747/1.011, allocations: 0.9792 MB / 0.7863 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/1.011, allocations: 0 / 0.7863 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003327/1.014, allocations: 0.7886 MB / 0.787 GB, free: 127.3 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.0002948/1.014, allocations: 143.5 kB / 0.7872 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006134/1.021, allocations: 4.019 MB / 0.7911 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.021, allocations: 1.312 kB / 0.7911 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.024, allocations: 2.749 MB / 0.7938 GB, free: 123 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/1.029, allocations: 0.6707 MB / 0.7944 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.044, allocations: 9.804 MB / 0.804 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.049, allocations: 3.178 MB / 0.8071 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/1.049, allocations: 128.7 kB / 0.8072 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/1.049, allocations: 0 / 0.8072 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.5575/1.607, allocations: 320.9 MB / 1.121 GB, free: 95.54 MB / 0.6387 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)