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.0008221/0.0008222, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 178.2 kB / 16.92 MB, free: 6.922 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 12 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 77.53 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006783/0.1571, allocations: 5.665 MB / 0.5655 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.1622, allocations: 3.107 MB / 0.5685 GB, free: 196 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.1626, allocations: 27.81 kB / 0.5686 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.163, allocations: 123 kB / 0.5687 GB, free: 44 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009986/0.164, allocations: 446 kB / 0.5691 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1651, allocations: 427.2 kB / 0.5695 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.1668, allocations: 1.478 MB / 0.571 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.1687, allocations: 0.984 MB / 0.5719 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.1694, allocations: 362.3 kB / 0.5723 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.17, allocations: 446.2 kB / 0.5727 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.1701, allocations: 28 kB / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.171, allocations: 0.5692 MB / 0.5733 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.1713, allocations: 259.2 kB / 0.5735 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.1716, allocations: 383.6 kB / 0.5739 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1728, allocations: 1.156 MB / 0.575 GB, free: 9.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1728, allocations: 8 kB / 0.575 GB, free: 9.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1728, allocations: 3.938 kB / 0.575 GB, free: 9.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1729, allocations: 0 / 0.575 GB, free: 9.504 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.001438/0.1743, allocations: 0.9077 MB / 0.5759 GB, free: 8.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1744, allocations: 8.031 kB / 0.5759 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.1758, allocations: 219.7 kB / 0.5761 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.1766, allocations: 0.5375 MB / 0.5767 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1766, allocations: 45.67 kB / 0.5767 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1767, allocations: 72.3 kB / 0.5768 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1781, allocations: 1.026 MB / 0.5778 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.1781, allocations: 11.84 kB / 0.5778 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.1782, allocations: 39.98 kB / 0.5778 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.1783, allocations: 65.27 kB / 0.5779 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.1793, allocations: 0.6918 MB / 0.5786 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3112/0.4905, allocations: 5.757 MB / 0.5842 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009194/0.4914, allocations: 0.5894 MB / 0.5848 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/0.4923, allocations: 416.4 kB / 0.5851 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.4924, allocations: 7.688 kB / 0.5852 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4924, allocations: 36.84 kB / 0.5852 GB, free: 27.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.355e-06/0.4924, allocations: 1.125 kB / 0.5852 GB, free: 27.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004795/0.4972, allocations: 2.07 MB / 0.5872 GB, free: 26.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.4972, allocations: 57.59 kB / 0.5873 GB, free: 26.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.4978, allocations: 453.1 kB / 0.5877 GB, free: 26.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4978, allocations: 31.27 kB / 0.5877 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4981, allocations: 388.7 kB / 0.5881 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4982, allocations: 151.6 kB / 0.5882 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.4983, allocations: 51.2 kB / 0.5883 GB, free: 26.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4984, allocations: 368.7 kB / 0.5886 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.4988, allocations: 248.7 kB / 0.5889 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.4993, allocations: 459.2 kB / 0.5893 GB, free: 25.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.5003, allocations: 0.758 MB / 0.5901 GB, free: 25.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.5003, allocations: 10.91 kB / 0.5901 GB, free: 25.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001965/0.5023, allocations: 1.053 MB / 0.5911 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5023, allocations: 8.031 kB / 0.5911 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5023, allocations: 6.531 kB / 0.5911 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.5034, allocations: 329.9 kB / 0.5914 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.5038, allocations: 98.38 kB / 0.5915 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.5099, allocations: 6.956 MB / 0.5983 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.5103, allocations: 32.88 kB / 0.5983 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.5104, allocations: 30.06 kB / 0.5984 GB, free: 18.64 MB / 446.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.0004067/0.5108, allocations: 244.8 kB / 0.5986 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5109, allocations: 60.56 kB / 0.5987 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.513, allocations: 0.9117 MB / 0.5996 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.513, allocations: 4.094 kB / 0.5996 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.513, allocations: 8.438 kB / 0.5996 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5131, allocations: 2.625 kB / 0.5996 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.5166, allocations: 1.711 MB / 0.6012 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5166, allocations: 1.219 kB / 0.6012 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.5168, allocations: 42.17 kB / 0.6013 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.5179, allocations: 321.4 kB / 0.6016 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.518, allocations: 11.42 kB / 0.6016 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006764/0.5247, allocations: 6.938 MB / 0.6084 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5247, allocations: 1 kB / 0.6084 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5265, allocations: 1.019 MB / 0.6094 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.5267, allocations: 171.6 kB / 0.6095 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.5268, allocations: 12.09 kB / 0.6095 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.5271, allocations: 24.62 kB / 0.6096 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5272, allocations: 43.23 kB / 0.6096 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.5272, allocations: 13.06 kB / 0.6096 GB, free: 10.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.5276, allocations: 306.4 kB / 0.6099 GB, free: 10.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5276, allocations: 0 / 0.6099 GB, free: 10.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009471/0.5286, allocations: 196.3 kB / 0.6101 GB, free: 10.32 MB / 446.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.0001713/0.5288, allocations: 109.4 kB / 0.6102 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.5307, allocations: 1.202 MB / 0.6114 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5307, allocations: 1.406 kB / 0.6114 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5319, allocations: 0.8657 MB / 0.6122 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5329, allocations: 188.1 kB / 0.6124 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.5351, allocations: 1.543 MB / 0.6139 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.5357, allocations: 0.9874 MB / 0.6149 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.536, allocations: 96.2 kB / 0.615 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.5361, allocations: 36.39 kB / 0.615 GB, free: 7.121 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5361, allocations: 0 / 0.615 GB, free: 7.121 MB / 446.1 MB Notification: Performance of Templates: time 0.01684/0.553, allocations: 9.462 MB / 0.6242 GB, free: 3.16 MB / 446.1 MB 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)