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.001277/0.001278, allocations: 117.8 kB / 17.08 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.001159/0.001159, allocations: 192.1 kB / 18.01 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6925/0.6925, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.61 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007653/0.1357, allocations: 6.125 MB / 0.6387 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.1407, allocations: 3.188 MB / 0.6418 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.1413, allocations: 27.81 kB / 0.6419 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.1437, allocations: 0.922 MB / 0.6428 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1449, allocations: 493.5 kB / 0.6432 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1462, allocations: 0.5022 MB / 0.6437 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1476, allocations: 1.108 MB / 0.6448 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009407/0.1485, allocations: 0.6349 MB / 0.6454 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.1492, allocations: 442.4 kB / 0.6458 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.1499, allocations: 474.2 kB / 0.6463 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.15, allocations: 60 kB / 0.6464 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.1509, allocations: 490.9 kB / 0.6468 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.1512, allocations: 287.2 kB / 0.6471 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.1517, allocations: 402 kB / 0.6475 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.153, allocations: 1.18 MB / 0.6486 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.153, allocations: 0 / 0.6486 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1531, allocations: 0 / 0.6486 GB, free: 4.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.1531, allocations: 4 kB / 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.001678/0.1548, allocations: 1.056 MB / 0.6497 GB, free: 2.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1548, allocations: 11.97 kB / 0.6497 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.1564, allocations: 227.6 kB / 0.6499 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.1573, allocations: 0.5883 MB / 0.6505 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1573, allocations: 49.67 kB / 0.6505 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1574, allocations: 56.38 kB / 0.6506 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1589, allocations: 1.049 MB / 0.6516 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.1589, allocations: 7.906 kB / 0.6516 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.159, allocations: 27.98 kB / 0.6516 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-05/0.1591, allocations: 69.27 kB / 0.6517 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1601, allocations: 0.6956 MB / 0.6524 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.1652, allocations: 5.729 MB / 0.658 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.166, allocations: 0.6093 MB / 0.6586 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.1669, allocations: 437 kB / 0.659 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1669, allocations: 7.781 kB / 0.659 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1669, allocations: 38.56 kB / 0.659 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.1669, allocations: 0 / 0.659 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004112/0.1711, allocations: 2.006 MB / 0.661 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1711, allocations: 55.41 kB / 0.661 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.1716, allocations: 474.7 kB / 0.6615 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1717, allocations: 29.7 kB / 0.6615 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.1719, allocations: 391 kB / 0.6619 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.172, allocations: 149.8 kB / 0.662 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.1722, allocations: 110.2 kB / 0.6621 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1724, allocations: 366.8 kB / 0.6625 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.1727, allocations: 241.2 kB / 0.6627 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.1732, allocations: 457 kB / 0.6632 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.1741, allocations: 0.748 MB / 0.6639 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1741, allocations: 4 kB / 0.6639 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001821/0.1759, allocations: 1.034 MB / 0.6649 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.176, allocations: 8 kB / 0.6649 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.176, allocations: 12 kB / 0.6649 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/0.177, allocations: 319.8 kB / 0.6652 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.1773, allocations: 99.81 kB / 0.6653 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.1845, allocations: 7.478 MB / 0.6726 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.185, allocations: 36.02 kB / 0.6727 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.185, allocations: 24 kB / 0.6727 GB, free: 9.836 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.0003202/0.1853, allocations: 241.6 kB / 0.6729 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.1855, allocations: 59.28 kB / 0.673 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.1871, allocations: 0.8922 MB / 0.6738 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1871, allocations: 8 kB / 0.6738 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1871, allocations: 4 kB / 0.6738 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1871, allocations: 3.984 kB / 0.6739 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.1897, allocations: 1.677 MB / 0.6755 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1897, allocations: 4 kB / 0.6755 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1899, allocations: 40.16 kB / 0.6755 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008433/0.1908, allocations: 311.1 kB / 0.6758 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.1908, allocations: 12.06 kB / 0.6758 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.1978, allocations: 7.471 MB / 0.6831 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1978, allocations: 7.938 kB / 0.6831 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1994, allocations: 0.9835 MB / 0.6841 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1996, allocations: 176.3 kB / 0.6843 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.1997, allocations: 12 kB / 0.6843 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.2, allocations: 15.98 kB / 0.6843 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.2001, allocations: 47.88 kB / 0.6843 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2001, allocations: 12 kB / 0.6844 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003222/0.2004, allocations: 314.9 kB / 0.6847 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2004, allocations: 4 kB / 0.6847 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007467/0.2012, allocations: 192 kB / 0.6848 GB, free: 12.62 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.0001421/0.2013, allocations: 111.1 kB / 0.6849 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.2031, allocations: 1.199 MB / 0.6861 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2032, allocations: 3.938 kB / 0.6861 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.2043, allocations: 0.8579 MB / 0.687 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.0009389/0.2053, allocations: 212.9 kB / 0.6872 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.2071, allocations: 1.292 MB / 0.6884 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.2077, 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 9.071e-05/0.2078, allocations: 35.44 kB / 0.6894 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2078, allocations: 11.94 kB / 0.6894 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of Templates: time 0.02019/0.228, allocations: 18.67 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)