Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 111.2 kB / 17.03 MB, free: 5.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.001762/0.001762, allocations: 195 kB / 17.98 MB, free: 5.008 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7386/0.7386, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.31 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.355, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0345/0.3895, allocations: 35.1 MB / 0.5919 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.4079, allocations: 9.943 MB / 0.6016 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00508/0.413, allocations: 146.2 kB / 0.6017 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009589/0.4227, allocations: 3.8 MB / 0.6054 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.4295, allocations: 2.042 MB / 0.6074 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005836/0.4354, allocations: 1.957 MB / 0.6093 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.4477, allocations: 7.978 MB / 0.6171 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.461, allocations: 9.521 MB / 0.6264 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.4679, allocations: 3.373 MB / 0.6297 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007939/0.4759, allocations: 3.734 MB / 0.6334 GB, free: 6.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002427/0.4784, allocations: 0.6797 MB / 0.634 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.4827, allocations: 1.443 MB / 0.6354 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003639/0.4863, allocations: 2.612 MB / 0.638 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005832/0.4922, allocations: 3.108 MB / 0.641 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.504, allocations: 10.37 MB / 0.6512 GB, free: 4.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.504, allocations: 4 kB / 0.6512 GB, free: 4.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.504, allocations: 0 / 0.6512 GB, free: 4.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002967/0.5043, allocations: 0 / 0.6512 GB, free: 4.496 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01283/0.5172, allocations: 5.405 MB / 0.6564 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5172, allocations: 8.031 kB / 0.6564 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.5227, allocations: 0.9664 MB / 0.6574 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007471/0.5302, allocations: 3.178 MB / 0.6605 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.5305, allocations: 357.9 kB / 0.6608 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.5318, allocations: 464.3 kB / 0.6613 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.5481, allocations: 7.91 MB / 0.669 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/0.5483, allocations: 31.72 kB / 0.669 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009738/0.5493, allocations: 212 kB / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005088/0.5498, allocations: 365.1 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.5616, allocations: 5.937 MB / 0.6754 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/0.6013, allocations: 35.95 MB / 0.7105 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.6048, allocations: 2.134 MB / 0.7126 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.6068, allocations: 1.48 MB / 0.714 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.6069, allocations: 17.31 kB / 0.714 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.607, allocations: 63.75 kB / 0.7141 GB, free: 276 kB / 0.545 GB Notification: Performance of pre-optimization done (n=157): time 3.958e-06/0.607, allocations: 0 / 0.7141 GB, free: 276 kB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.01377/0.6208, allocations: 7.536 MB / 0.7214 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.6209, allocations: 68.72 kB / 0.7215 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.6233, allocations: 1.864 MB / 0.7233 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.6236, allocations: 57.64 kB / 0.7234 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.6251, allocations: 2.127 MB / 0.7255 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.6258, allocations: 0.5507 MB / 0.726 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006413/0.6265, allocations: 403.7 kB / 0.7264 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6266, allocations: 305.1 kB / 0.7267 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.6282, allocations: 1.066 MB / 0.7277 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.6301, allocations: 1.756 MB / 0.7294 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.6339, allocations: 3.049 MB / 0.7324 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.634, allocations: 8 kB / 0.7324 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006508/0.6405, allocations: 3.925 MB / 0.7363 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.6405, allocations: 16 kB / 0.7363 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.6406, allocations: 20 kB / 0.7363 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.643, allocations: 0.9313 MB / 0.7372 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.6447, allocations: 431.2 kB / 0.7376 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2664/0.9111, allocations: 22.74 MB / 0.7598 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.9132, allocations: 122 kB / 0.7599 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.9135, allocations: 99.42 kB / 0.76 GB, free: 142.9 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.002956/0.9164, allocations: 1.643 MB / 0.7616 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/0.9171, allocations: 256.9 kB / 0.7619 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00741/0.9246, allocations: 3.269 MB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.9246, allocations: 19.66 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-05/0.9247, allocations: 10.56 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/0.9247, allocations: 8.203 kB / 0.7651 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.9406, allocations: 7.553 MB / 0.7725 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.9407, allocations: 3.781 kB / 0.7725 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.9416, allocations: 220.2 kB / 0.7727 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.944, allocations: 0.8957 MB / 0.7736 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.9442, allocations: 35.44 kB / 0.7736 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.9612, allocations: 22.72 MB / 0.7958 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/0.9612, allocations: 9.156 kB / 0.7958 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.9666, allocations: 3.385 MB / 0.7991 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.9681, allocations: 0.5344 MB / 0.7996 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.9685, allocations: 35.12 kB / 0.7997 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.9696, allocations: 93.44 kB / 0.7997 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/0.97, allocations: 135.4 kB / 0.7999 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.9702, allocations: 50.17 kB / 0.7999 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001753/0.9719, allocations: 1.222 MB / 0.8011 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9719, allocations: 0 / 0.8011 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002933/0.9749, allocations: 0.9043 MB / 0.802 GB, free: 115.7 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/0.9752, allocations: 159.2 kB / 0.8022 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005336/0.9805, allocations: 4.434 MB / 0.8065 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9805, allocations: 3.875 kB / 0.8065 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/0.984, allocations: 2.993 MB / 0.8094 GB, free: 111.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/0.9873, allocations: 0.8154 MB / 0.8102 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.9986, allocations: 7.601 MB / 0.8176 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.002, allocations: 3.201 MB / 0.8208 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001629/1.003, allocations: 0.5254 MB / 0.8213 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.004, allocations: 143.4 kB / 0.8214 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/1.004, allocations: 0 / 0.8214 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05866/1.062, allocations: 40.98 MB / 0.8614 GB, free: 60.67 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)