Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 183.3 kB / 16.92 MB, free: 6.754 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7934/0.7934, allocations: 123 MB / 415.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 8 kB / 0.4933 GB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.421, allocations: 79.28 MB / 0.5708 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03357/0.4546, allocations: 29.69 MB / 0.5998 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02438/0.4791, allocations: 13.41 MB / 0.6128 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004214/0.4833, allocations: 124.4 kB / 0.613 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.4862, allocations: 0.651 MB / 0.6136 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008662/0.4949, allocations: 2.477 MB / 0.616 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005558/0.5004, allocations: 1.715 MB / 0.6177 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.5136, allocations: 10.43 MB / 0.6279 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/0.531, allocations: 10.19 MB / 0.6378 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.537, allocations: 2.584 MB / 0.6404 GB, free: 5.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005347/0.5424, allocations: 2.942 MB / 0.6432 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.5434, allocations: 244 kB / 0.6435 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.5478, allocations: 1.388 MB / 0.6448 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.5505, allocations: 1.917 MB / 0.6467 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003961/0.5545, allocations: 2.372 MB / 0.649 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5648, allocations: 9.021 MB / 0.6578 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5648, allocations: 0 / 0.6578 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5649, allocations: 0 / 0.6578 GB, free: 3.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002699/0.5651, allocations: 0 / 0.6578 GB, free: 3.176 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009551/0.5747, allocations: 4.156 MB / 0.6619 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5748, allocations: 8.031 kB / 0.6619 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.5814, allocations: 1.002 MB / 0.6629 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/0.5884, allocations: 2.9 MB / 0.6657 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.5888, allocations: 320.8 kB / 0.666 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.5901, allocations: 416 kB / 0.6664 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.604, allocations: 6.799 MB / 0.673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.6042, allocations: 23.78 kB / 0.6731 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.6047, allocations: 184 kB / 0.6732 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009299/0.6056, allocations: 372 kB / 0.6736 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009555/0.6152, allocations: 5.11 MB / 0.6786 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.6487, allocations: 30.79 MB / 0.7086 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.6509, allocations: 1.38 MB / 0.71 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.6526, allocations: 1.332 MB / 0.7113 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.6527, allocations: 13.31 kB / 0.7113 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.6528, allocations: 51.88 kB / 0.7114 GB, free: 9.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.717e-06/0.6528, allocations: 0 / 0.7114 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.0915/0.7443, allocations: 22.8 MB / 0.7336 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.7444, allocations: 73.41 kB / 0.7337 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.7477, allocations: 2.058 MB / 0.7357 GB, free: 4 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.748, allocations: 65.64 kB / 0.7358 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.7495, allocations: 2.014 MB / 0.7377 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007319/0.7503, allocations: 0.6778 MB / 0.7384 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.7506, allocations: 178.3 kB / 0.7386 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7507, allocations: 313 kB / 0.7389 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.7529, allocations: 1.43 MB / 0.7403 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.7555, allocations: 2.017 MB / 0.7422 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.7604, allocations: 3.688 MB / 0.7458 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.7604, allocations: 4 kB / 0.7458 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01191/0.7724, allocations: 5.669 MB / 0.7514 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.7724, allocations: 12.22 kB / 0.7514 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.7725, allocations: 20 kB / 0.7514 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007229/0.7797, allocations: 2.076 MB / 0.7534 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.7814, allocations: 379.4 kB / 0.7538 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03765/0.819, allocations: 35.54 MB / 0.7885 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.8216, allocations: 135.8 kB / 0.7886 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.8218, allocations: 88 kB / 0.7887 GB, free: 6.637 MB / 0.6231 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002686/0.8245, allocations: 1.512 MB / 0.7902 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/0.825, allocations: 280.6 kB / 0.7905 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.8359, allocations: 5.216 MB / 0.7956 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.836, allocations: 20.28 kB / 0.7956 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-05/0.8361, allocations: 16 kB / 0.7956 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.8361, allocations: 23.88 kB / 0.7956 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.8546, allocations: 9.673 MB / 0.8051 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.8546, allocations: 7.938 kB / 0.8051 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/0.8555, allocations: 219.6 kB / 0.8053 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006024/0.8615, allocations: 1.842 MB / 0.8071 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.8617, allocations: 44 kB / 0.8071 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3511/1.213, allocations: 34.54 MB / 0.8408 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.213, allocations: 11.44 kB / 0.8409 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.223, allocations: 4.919 MB / 0.8457 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.225, allocations: 0.6161 MB / 0.8463 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.225, allocations: 44.86 kB / 0.8463 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.227, allocations: 125.9 kB / 0.8464 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/1.228, allocations: 194.1 kB / 0.8466 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.228, allocations: 61.22 kB / 0.8467 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002086/1.23, allocations: 1.377 MB / 0.848 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/1.23, allocations: 1.344 kB / 0.848 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003662/1.233, allocations: 1.048 MB / 0.849 GB, free: 175.6 MB / 0.6387 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003009/1.234, allocations: 163.9 kB / 0.8492 GB, free: 175.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009042/1.243, allocations: 6.273 MB / 0.8553 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.243, allocations: 2.125 kB / 0.8553 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006141/1.249, allocations: 4.412 MB / 0.8596 GB, free: 169 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006638/1.256, allocations: 0.9077 MB / 0.8605 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.27, allocations: 10.06 MB / 0.8703 GB, free: 163 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/1.273, allocations: 3.125 MB / 0.8734 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002056/1.275, allocations: 0.5135 MB / 0.8739 GB, free: 161.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.276, allocations: 159.4 kB / 0.8741 GB, free: 161.7 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/1.276, allocations: 0 / 0.8741 GB, free: 161.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.07639/1.352, allocations: 57 MB / 0.9297 GB, free: 109.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)