Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001336/0.001336, allocations: 105.8 kB / 16.94 MB, free: 6.191 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.001339/0.001339, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8165/0.8165, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 67.88 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4181, allocations: 78.56 MB / 0.5715 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009041/0.4272, allocations: 6.13 MB / 0.5775 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.4324, allocations: 3.17 MB / 0.5806 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.4331, allocations: 30.22 kB / 0.5806 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.4354, allocations: 0.933 MB / 0.5815 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.4368, allocations: 470.5 kB / 0.582 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4382, allocations: 0.5038 MB / 0.5825 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.4398, allocations: 1.097 MB / 0.5836 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.4409, allocations: 0.6432 MB / 0.5842 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/0.4418, allocations: 446.8 kB / 0.5846 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.4426, allocations: 472 kB / 0.5851 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.4428, allocations: 57.53 kB / 0.5851 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.4441, allocations: 484.9 kB / 0.5856 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.4445, allocations: 290.2 kB / 0.5859 GB, free: 22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.4452, allocations: 402.7 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.4467, allocations: 1.164 MB / 0.5874 GB, free: 20.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4467, allocations: 2.031 kB / 0.5874 GB, free: 20.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4467, allocations: 0 / 0.5874 GB, free: 20.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4467, allocations: 2.188 kB / 0.5874 GB, free: 20.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0015/0.4482, allocations: 1.062 MB / 0.5884 GB, free: 20.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4483, allocations: 9.156 kB / 0.5884 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4498, allocations: 218 kB / 0.5886 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.4505, allocations: 0.5426 MB / 0.5892 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.4506, allocations: 48.48 kB / 0.5892 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4507, allocations: 72.83 kB / 0.5893 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.452, allocations: 1.028 MB / 0.5903 GB, free: 18.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.452, allocations: 8.469 kB / 0.5903 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.4521, allocations: 31.27 kB / 0.5903 GB, free: 18.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.833e-05/0.4522, allocations: 68.58 kB / 0.5904 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.4532, allocations: 0.6926 MB / 0.5911 GB, free: 18.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.457, allocations: 5.754 MB / 0.5967 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.4578, allocations: 0.5979 MB / 0.5973 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.4584, allocations: 427 kB / 0.5977 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.4585, allocations: 7.984 kB / 0.5977 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4585, allocations: 38.56 kB / 0.5977 GB, free: 12.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.4585, allocations: 0 / 0.5977 GB, free: 12.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003786/0.4623, allocations: 2.057 MB / 0.5997 GB, free: 9.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4623, allocations: 55.41 kB / 0.5998 GB, free: 9.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.4627, allocations: 470.8 kB / 0.6002 GB, free: 9.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4627, allocations: 29.7 kB / 0.6003 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4629, allocations: 391 kB / 0.6006 GB, free: 8.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.463, allocations: 149.8 kB / 0.6008 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4631, allocations: 106.2 kB / 0.6009 GB, free: 8.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.4632, allocations: 366.8 kB / 0.6012 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.4635, allocations: 245.2 kB / 0.6015 GB, free: 8.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4638, allocations: 461 kB / 0.6019 GB, free: 7.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006862/0.4645, allocations: 0.7519 MB / 0.6026 GB, free: 6.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4645, allocations: 4 kB / 0.6026 GB, free: 6.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001488/0.466, allocations: 1.058 MB / 0.6037 GB, free: 5.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.466, allocations: 11.94 kB / 0.6037 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4661, allocations: 8 kB / 0.6037 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.467, allocations: 331.1 kB / 0.604 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4673, allocations: 99.81 kB / 0.6041 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.4737, allocations: 7.526 MB / 0.6115 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.4743, allocations: 28.02 kB / 0.6115 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.4743, allocations: 32 kB / 0.6115 GB, free: 13.01 MB / 462.1 MB 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.4748, allocations: 237.6 kB / 0.6117 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4749, allocations: 63.42 kB / 0.6118 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.4767, allocations: 0.9233 MB / 0.6127 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4768, allocations: 4.281 kB / 0.6127 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4768, allocations: 4 kB / 0.6127 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4768, allocations: 3.938 kB / 0.6127 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.4797, allocations: 1.709 MB / 0.6144 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4798, allocations: 4 kB / 0.6144 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4799, allocations: 43.91 kB / 0.6144 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.481, allocations: 323.3 kB / 0.6147 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.481, allocations: 8 kB / 0.6147 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008128/0.4891, allocations: 7.505 MB / 0.6221 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.4892, allocations: 4 kB / 0.6221 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4911, allocations: 1.023 MB / 0.6231 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.4914, allocations: 168.4 kB / 0.6232 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.4914, allocations: 16 kB / 0.6232 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.4917, allocations: 19.97 kB / 0.6233 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4918, allocations: 47.88 kB / 0.6233 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.4919, allocations: 8.281 kB / 0.6233 GB, free: 156 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003956/0.4923, allocations: 318.9 kB / 0.6236 GB, free: 15.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4923, allocations: 0 / 0.6236 GB, free: 15.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008523/0.4931, allocations: 199.9 kB / 0.6238 GB, free: 15.65 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001737/0.4933, allocations: 116.1 kB / 0.6239 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4954, allocations: 1.245 MB / 0.6251 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4954, allocations: 0 / 0.6251 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4967, allocations: 0.8699 MB / 0.626 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4978, allocations: 211.1 kB / 0.6262 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.5, allocations: 1.305 MB / 0.6275 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.5007, allocations: 0.9921 MB / 0.6284 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5008, allocations: 39.44 kB / 0.6285 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5008, allocations: 0 / 0.6285 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Templates: time 0.02429/0.5251, allocations: 18.66 MB / 0.6467 GB, free: 8.082 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)