Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001263/0.001264, allocations: 117 kB / 17.09 MB, free: 5.969 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.00119/0.00119, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.11 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007017/0.1474, allocations: 6.071 MB / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.1518, allocations: 3.149 MB / 0.6417 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.1522, allocations: 27.81 kB / 0.6418 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.1543, allocations: 0.9287 MB / 0.6427 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.1553, allocations: 497.5 kB / 0.6431 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1562, allocations: 490.8 kB / 0.6436 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.1572, allocations: 1.088 MB / 0.6447 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.158, allocations: 0.6349 MB / 0.6453 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.1585, allocations: 454.3 kB / 0.6457 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.159, allocations: 470.2 kB / 0.6462 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.1591, allocations: 56 kB / 0.6462 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.1598, allocations: 487 kB / 0.6467 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.16, allocations: 287.3 kB / 0.647 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.1604, allocations: 397.9 kB / 0.6474 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1614, allocations: 1.18 MB / 0.6485 GB, free: 4.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1614, allocations: 0 / 0.6485 GB, free: 4.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1614, allocations: 0 / 0.6485 GB, free: 4.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1615, allocations: 7.938 kB / 0.6485 GB, free: 4.195 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.001428/0.1629, allocations: 1.044 MB / 0.6495 GB, free: 3.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1629, allocations: 12.03 kB / 0.6495 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.1644, allocations: 227.6 kB / 0.6498 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.1651, allocations: 0.5766 MB / 0.6503 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1652, allocations: 45.67 kB / 0.6504 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.1653, allocations: 64.36 kB / 0.6504 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1666, allocations: 1.038 MB / 0.6514 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.1666, allocations: 11.84 kB / 0.6515 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.1667, allocations: 31.98 kB / 0.6515 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.132e-05/0.1668, allocations: 77.25 kB / 0.6516 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.1677, allocations: 0.6918 MB / 0.6522 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.1722, allocations: 5.717 MB / 0.6578 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.173, allocations: 0.6054 MB / 0.6584 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.1738, allocations: 435.5 kB / 0.6588 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1738, allocations: 7.984 kB / 0.6588 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1739, allocations: 39.25 kB / 0.6589 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.1739, allocations: 0 / 0.6589 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003967/0.1778, allocations: 2.01 MB / 0.6608 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1779, allocations: 55.41 kB / 0.6609 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.1783, allocations: 462.7 kB / 0.6613 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.1784, allocations: 29.7 kB / 0.6614 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.1786, allocations: 387 kB / 0.6617 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1787, allocations: 149.8 kB / 0.6619 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1788, allocations: 106.2 kB / 0.662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.179, allocations: 366.8 kB / 0.6623 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.1793, allocations: 241.2 kB / 0.6625 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.1798, allocations: 457 kB / 0.663 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008344/0.1806, allocations: 0.7556 MB / 0.6637 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1806, allocations: 0 / 0.6637 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001683/0.1823, allocations: 1.034 MB / 0.6647 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1823, allocations: 8 kB / 0.6647 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1824, allocations: 15.88 kB / 0.6648 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009242/0.1833, allocations: 323.7 kB / 0.6651 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1836, allocations: 99.81 kB / 0.6652 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.1901, allocations: 7.474 MB / 0.6725 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.1906, allocations: 36.02 kB / 0.6725 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.1906, allocations: 24 kB / 0.6725 GB, free: 9.996 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.0003103/0.191, allocations: 245.6 kB / 0.6727 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.191, allocations: 59.28 kB / 0.6728 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.1926, allocations: 0.8922 MB / 0.6737 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1926, allocations: 4 kB / 0.6737 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.1926, allocations: 8 kB / 0.6737 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1926, allocations: 3.984 kB / 0.6737 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.195, allocations: 1.669 MB / 0.6753 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1951, allocations: 0 / 0.6753 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1952, allocations: 47.91 kB / 0.6754 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/0.1961, allocations: 311.6 kB / 0.6757 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.1961, allocations: 12 kB / 0.6757 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.2025, allocations: 7.463 MB / 0.683 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2026, allocations: 7.875 kB / 0.683 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.2041, allocations: 0.9873 MB / 0.6839 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.2043, allocations: 176.4 kB / 0.6841 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.2044, allocations: 11.98 kB / 0.6841 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.2047, allocations: 15.98 kB / 0.6841 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2048, allocations: 47.81 kB / 0.6842 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.2048, allocations: 16 kB / 0.6842 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003044/0.2051, allocations: 302.9 kB / 0.6845 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2051, allocations: 0 / 0.6845 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00071/0.2059, allocations: 200 kB / 0.6847 GB, free: 12.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 (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.0001345/0.206, allocations: 103.2 kB / 0.6848 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.2077, allocations: 1.207 MB / 0.6859 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2077, allocations: 0 / 0.6859 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.2088, allocations: 0.8543 MB / 0.6868 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.2098, allocations: 209.3 kB / 0.687 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2116, allocations: 1.28 MB / 0.6882 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.2121, allocations: 0.9921 MB / 0.6892 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.2122, allocations: 35.44 kB / 0.6892 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.2122, allocations: 0 / 0.6892 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of Templates: time 0.01875/0.231, allocations: 18.48 MB / 0.7073 GB, free: 5.477 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)