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.001639/0.001639, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.001949/0.001949, allocations: 195 kB / 18.02 MB, free: 5.094 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.514/1.514, 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.7296/0.7296, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.17 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008153/0.1628, allocations: 6.131 MB / 0.6387 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005516/0.1684, allocations: 3.176 MB / 0.6418 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.169, allocations: 31.81 kB / 0.6419 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.1715, allocations: 0.9247 MB / 0.6428 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1727, allocations: 477.5 kB / 0.6432 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.174, allocations: 0.5014 MB / 0.6437 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1754, allocations: 1.096 MB / 0.6448 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009433/0.1763, allocations: 0.6427 MB / 0.6454 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.1769, allocations: 438.4 kB / 0.6458 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.1775, allocations: 474.2 kB / 0.6463 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.1776, allocations: 60 kB / 0.6463 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.1786, allocations: 494.9 kB / 0.6468 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.1789, allocations: 283.2 kB / 0.6471 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.1793, allocations: 405.9 kB / 0.6475 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1807, allocations: 1.176 MB / 0.6486 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1807, allocations: 0 / 0.6486 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1807, allocations: 3.938 kB / 0.6486 GB, free: 4.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1807, allocations: 0 / 0.6486 GB, free: 4.082 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001625/0.1824, allocations: 1.063 MB / 0.6496 GB, free: 2.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1824, allocations: 8.031 kB / 0.6497 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.1839, allocations: 223.6 kB / 0.6499 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.1848, allocations: 0.5922 MB / 0.6504 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.1848, allocations: 41.69 kB / 0.6505 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.185, allocations: 64.36 kB / 0.6506 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.1864, allocations: 1.041 MB / 0.6516 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.1864, allocations: 7.906 kB / 0.6516 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.1865, allocations: 24 kB / 0.6516 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.888e-05/0.1866, allocations: 73.22 kB / 0.6517 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1876, allocations: 0.6957 MB / 0.6523 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.1926, allocations: 5.733 MB / 0.6579 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.1935, allocations: 0.6015 MB / 0.6585 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007976/0.1943, allocations: 445 kB / 0.659 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1944, allocations: 7.781 kB / 0.659 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1944, allocations: 30.56 kB / 0.659 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 4.629e-06/0.1944, allocations: 7.984 kB / 0.659 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004319/0.1987, allocations: 2.01 MB / 0.661 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1988, allocations: 55.41 kB / 0.661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.1993, allocations: 466.8 kB / 0.6615 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.1994, allocations: 33.7 kB / 0.6615 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.1997, allocations: 387 kB / 0.6619 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1998, allocations: 153.8 kB / 0.662 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2, allocations: 114.2 kB / 0.6621 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2002, allocations: 362.8 kB / 0.6625 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.2005, allocations: 241.2 kB / 0.6627 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.201, allocations: 460.9 kB / 0.6631 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/0.202, allocations: 0.748 MB / 0.6639 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.202, allocations: 4 kB / 0.6639 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001864/0.2038, allocations: 1.035 MB / 0.6649 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2039, allocations: 8 kB / 0.6649 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2039, allocations: 8 kB / 0.6649 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/0.2049, allocations: 323.1 kB / 0.6652 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.2052, allocations: 95.83 kB / 0.6653 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.2126, allocations: 7.47 MB / 0.6726 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.2132, allocations: 32.02 kB / 0.6726 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.2132, allocations: 24 kB / 0.6726 GB, free: 9.848 MB / 0.5137 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 (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.0003843/0.2136, allocations: 245.9 kB / 0.6729 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2138, allocations: 59.42 kB / 0.6729 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.2155, allocations: 0.9041 MB / 0.6738 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2155, allocations: 4 kB / 0.6738 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.2155, allocations: 8 kB / 0.6738 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2155, allocations: 3.984 kB / 0.6738 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.2182, allocations: 1.68 MB / 0.6755 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2182, allocations: 4 kB / 0.6755 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2184, allocations: 43.89 kB / 0.6755 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/0.2193, allocations: 303.4 kB / 0.6758 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.2193, allocations: 8 kB / 0.6758 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.2266, allocations: 7.457 MB / 0.6831 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.2266, allocations: 7.938 kB / 0.6831 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2283, allocations: 0.9914 MB / 0.6841 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.2286, allocations: 172.6 kB / 0.6842 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.2287, allocations: 8 kB / 0.6842 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.229, allocations: 31.97 kB / 0.6843 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2292, allocations: 39.83 kB / 0.6843 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.2292, allocations: 12 kB / 0.6843 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003476/0.2296, allocations: 318.8 kB / 0.6846 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2296, allocations: 0 / 0.6846 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008005/0.2304, allocations: 192 kB / 0.6848 GB, free: 12.63 MB / 0.5294 GB 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.0001764/0.2306, allocations: 119.2 kB / 0.6849 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2325, allocations: 1.199 MB / 0.6861 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.2325, allocations: 4.125 kB / 0.6861 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.2337, allocations: 0.8577 MB / 0.6869 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2348, allocations: 209.7 kB / 0.6871 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.237, allocations: 1.291 MB / 0.6884 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.2376, allocations: 0.9921 MB / 0.6894 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2378, allocations: 39.42 kB / 0.6894 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.2378, allocations: 4 kB / 0.6894 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of Templates: time 0.02379/0.2616, allocations: 18.68 MB / 0.7077 GB, free: 5.078 MB / 0.545 GB 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)