Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001009/0.001009, allocations: 110.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.001145/0.001145, 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.258/1.258, allocations: 222.9 MB / 241 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.6896/0.6896, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.12 kB / 0.5577 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007537/0.1435, allocations: 6.782 MB / 0.6387 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.148, allocations: 3.067 MB / 0.6417 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.1484, allocations: 27.81 kB / 0.6417 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1507, allocations: 0.9472 MB / 0.6426 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1517, allocations: 0.5011 MB / 0.6431 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.1527, allocations: 454.4 kB / 0.6436 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1538, allocations: 1.232 MB / 0.6448 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007837/0.1546, allocations: 0.666 MB / 0.6454 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.1551, allocations: 478.2 kB / 0.6459 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.1557, allocations: 0.5137 MB / 0.6464 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.1558, allocations: 71.98 kB / 0.6464 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006104/0.1564, allocations: 375.3 kB / 0.6468 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.1567, allocations: 311.2 kB / 0.6471 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.157, allocations: 453.6 kB / 0.6475 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1581, allocations: 1.223 MB / 0.6487 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1581, allocations: 0 / 0.6487 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1581, allocations: 0 / 0.6487 GB, free: 3.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1581, allocations: 3.938 kB / 0.6487 GB, free: 3.305 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001651/0.1598, allocations: 1.172 MB / 0.6499 GB, free: 2.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1598, allocations: 8.031 kB / 0.6499 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.1613, allocations: 235.5 kB / 0.6501 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.1621, allocations: 0.6076 MB / 0.6507 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.1621, allocations: 53.67 kB / 0.6508 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.1622, allocations: 60.36 kB / 0.6508 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1636, allocations: 1.085 MB / 0.6519 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1636, allocations: 7.938 kB / 0.6519 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/0.1637, allocations: 31.98 kB / 0.6519 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.1638, allocations: 85.25 kB / 0.652 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1648, allocations: 0.7543 MB / 0.6527 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.1694, allocations: 5.885 MB / 0.6585 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.1703, allocations: 0.556 MB / 0.659 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.1707, allocations: 326 kB / 0.6593 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1708, allocations: 8.375 kB / 0.6593 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1708, allocations: 39 kB / 0.6594 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.1708, allocations: 0 / 0.6594 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003439/0.1742, allocations: 1.982 MB / 0.6613 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1743, allocations: 55.84 kB / 0.6614 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.1748, allocations: 0.5626 MB / 0.6619 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1749, allocations: 37.7 kB / 0.662 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.1751, allocations: 411 kB / 0.6623 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1753, allocations: 169.6 kB / 0.6625 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1754, allocations: 134.4 kB / 0.6626 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1756, allocations: 374.7 kB / 0.663 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.176, allocations: 273.8 kB / 0.6633 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1765, allocations: 493 kB / 0.6637 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.1774, allocations: 0.8171 MB / 0.6645 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1774, allocations: 0 / 0.6645 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001598/0.179, allocations: 1.087 MB / 0.6656 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.179, allocations: 12 kB / 0.6656 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.179, allocations: 8 kB / 0.6656 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007527/0.1798, allocations: 275.1 kB / 0.6659 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.1802, allocations: 127.8 kB / 0.666 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.1863, allocations: 7.142 MB / 0.673 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.1868, allocations: 35.97 kB / 0.673 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.1869, allocations: 31.94 kB / 0.673 GB, free: 8.844 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003437/0.1872, allocations: 265.4 kB / 0.6733 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1873, allocations: 71.16 kB / 0.6733 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.1888, allocations: 0.8887 MB / 0.6742 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1888, allocations: 4 kB / 0.6742 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1888, allocations: 4 kB / 0.6742 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1888, allocations: 0 / 0.6742 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.1911, allocations: 1.728 MB / 0.6759 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1911, allocations: 3.938 kB / 0.6759 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1913, allocations: 59.89 kB / 0.676 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/0.192, allocations: 271.2 kB / 0.6762 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.1921, allocations: 12 kB / 0.6762 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.1978, allocations: 7.127 MB / 0.6832 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1978, allocations: 4 kB / 0.6832 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1991, allocations: 0.9757 MB / 0.6842 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.1994, allocations: 192.2 kB / 0.6843 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.1995, allocations: 12 kB / 0.6843 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.1998, allocations: 31.91 kB / 0.6844 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.1999, allocations: 47.88 kB / 0.6844 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2, allocations: 16 kB / 0.6844 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003767/0.2003, allocations: 387.1 kB / 0.6848 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.412e-06/0.2004, allocations: 0 / 0.6848 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007228/0.2011, allocations: 227.9 kB / 0.685 GB, free: 11.79 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001429/0.2012, allocations: 122 kB / 0.6851 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.203, allocations: 1.268 MB / 0.6864 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.203, allocations: 4.062 kB / 0.6864 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.2041, allocations: 0.8935 MB / 0.6873 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.2051, allocations: 221.3 kB / 0.6875 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.207, allocations: 1.337 MB / 0.6888 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.2075, allocations: 1.009 MB / 0.6898 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.2078, allocations: 126 kB / 0.6899 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2079, allocations: 39.44 kB / 0.6899 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.2079, allocations: 4 kB / 0.6899 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.01813/0.2261, allocations: 11.33 MB / 0.701 GB, free: 11.4 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)