Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.001006/0.001006, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.75 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 76.18 MB / 0.6321 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01493/0.1462, allocations: 14.02 MB / 0.6458 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1592, allocations: 9.392 MB / 0.6549 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.1607, allocations: 55.69 kB / 0.655 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004197/0.165, allocations: 1.674 MB / 0.6566 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.1695, allocations: 1.545 MB / 0.6581 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1714, allocations: 0.7495 MB / 0.6589 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003339/0.1748, allocations: 2.523 MB / 0.6613 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.1768, allocations: 1.415 MB / 0.6627 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.1785, allocations: 1.078 MB / 0.6638 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.1804, allocations: 1.136 MB / 0.6649 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.1808, allocations: 164 kB / 0.665 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1825, allocations: 0.7916 MB / 0.6658 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007604/0.1833, allocations: 0.6154 MB / 0.6664 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.1846, allocations: 0.9407 MB / 0.6673 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.1872, allocations: 2.753 MB / 0.67 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1872, allocations: 4 kB / 0.67 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1873, allocations: 0 / 0.67 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.1873, allocations: 0 / 0.67 GB, free: 13.5 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003271/0.1906, allocations: 2.139 MB / 0.6721 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1906, allocations: 8.031 kB / 0.6721 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.2015, allocations: 2.085 MB / 0.6742 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.2037, allocations: 1.298 MB / 0.6754 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.2038, allocations: 82.73 kB / 0.6755 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.204, allocations: 132 kB / 0.6756 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/0.2093, allocations: 2.675 MB / 0.6782 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.2093, allocations: 7.938 kB / 0.6782 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2095, allocations: 51.98 kB / 0.6783 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005992/0.2101, allocations: 182.1 kB / 0.6785 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007052/0.2172, allocations: 2.795 MB / 0.6812 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.2299, allocations: 10.47 MB / 0.6914 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006467/0.2364, allocations: 2.545 MB / 0.6939 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.2393, allocations: 1.284 MB / 0.6952 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.2394, allocations: 9 kB / 0.6952 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.2394, allocations: 39.56 kB / 0.6952 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.2394, allocations: 0 / 0.6952 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04368/0.2831, allocations: 13.35 MB / 0.7082 GB, free: 5.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2832, allocations: 68.72 kB / 0.7083 GB, free: 5.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.2846, allocations: 1.117 MB / 0.7094 GB, free: 3.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.2848, allocations: 45.7 kB / 0.7094 GB, free: 3.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.2853, allocations: 0.7156 MB / 0.7101 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.2857, allocations: 449.4 kB / 0.7106 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.2862, allocations: 267.4 kB / 0.7108 GB, free: 2.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2864, allocations: 361.9 kB / 0.7112 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.2895, allocations: 1.342 MB / 0.7125 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.2928, allocations: 1.608 MB / 0.7141 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006337/0.2991, allocations: 2.991 MB / 0.717 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.2992, allocations: 12 kB / 0.717 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01055/0.3097, allocations: 4.434 MB / 0.7213 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3097, allocations: 8 kB / 0.7213 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3098, allocations: 8 kB / 0.7213 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/0.3145, allocations: 1.432 MB / 0.7227 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.3164, allocations: 439.3 kB / 0.7231 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02433/0.3407, allocations: 26.67 MB / 0.7492 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.3432, allocations: 303.5 kB / 0.7495 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.3434, allocations: 68.09 kB / 0.7496 GB, free: 8.715 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00081/0.3442, allocations: 441 kB / 0.75 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.3445, allocations: 158.1 kB / 0.7501 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.3554, allocations: 4.461 MB / 0.7545 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3554, allocations: 12 kB / 0.7545 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.3554, allocations: 12 kB / 0.7545 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3555, allocations: 3.984 kB / 0.7545 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3272/0.6826, allocations: 6.768 MB / 0.7611 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6827, allocations: 3.797 kB / 0.7611 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.6845, allocations: 384.8 kB / 0.7615 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004323/0.6888, allocations: 1.31 MB / 0.7628 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.6889, allocations: 43.59 kB / 0.7628 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/0.7089, allocations: 25.49 MB / 0.7877 GB, free: 94.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7089, allocations: 2.719 kB / 0.7877 GB, free: 94.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009545/0.7185, allocations: 4.208 MB / 0.7918 GB, free: 93.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/0.7195, allocations: 452.2 kB / 0.7922 GB, free: 93.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.7197, allocations: 27.5 kB / 0.7923 GB, free: 93.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.7217, allocations: 309.1 kB / 0.7926 GB, free: 93.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.7221, allocations: 125.5 kB / 0.7927 GB, free: 93.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7223, allocations: 51.2 kB / 0.7927 GB, free: 93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009083/0.7232, allocations: 0.7521 MB / 0.7935 GB, free: 92.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7232, allocations: 0 / 0.7935 GB, free: 92.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001677/0.7249, allocations: 0.5689 MB / 0.794 GB, free: 92.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002388/0.7251, allocations: 145.9 kB / 0.7942 GB, free: 92.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009195/0.7343, allocations: 5.135 MB / 0.7992 GB, free: 90 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.7343, allocations: 0 / 0.7992 GB, free: 90 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005526/0.7399, allocations: 3.49 MB / 0.8026 GB, free: 87.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.7418, allocations: 0.5525 MB / 0.8031 GB, free: 87.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.7484, allocations: 3.988 MB / 0.807 GB, free: 85.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.7492, allocations: 1.481 MB / 0.8085 GB, free: 83.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001162/0.7504, allocations: 427.9 kB / 0.8089 GB, free: 83.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.7507, allocations: 115.4 kB / 0.809 GB, free: 83.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.7507, allocations: 0 / 0.809 GB, free: 83.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.04165/0.7924, allocations: 39.35 MB / 0.8474 GB, free: 44.34 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)