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.0008161/0.000816, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008958/0.0008958, allocations: 176.5 kB / 16.58 MB, free: 6.852 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.387/1.387, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7106/0.7106, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.00037, allocations: 12 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 77.52 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006524/0.1671, allocations: 5.391 MB / 0.5646 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.1717, allocations: 2.944 MB / 0.5675 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.1722, allocations: 23.81 kB / 0.5675 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.1726, allocations: 118.9 kB / 0.5676 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1737, allocations: 378.1 kB / 0.568 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.1747, allocations: 358.4 kB / 0.5683 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1761, allocations: 1.205 MB / 0.5695 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.1778, allocations: 0.9093 MB / 0.5704 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.1785, allocations: 362.5 kB / 0.5707 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.1792, allocations: 442.3 kB / 0.5711 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.551e-05/0.1793, allocations: 32 kB / 0.5712 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.1799, allocations: 243.7 kB / 0.5714 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.1802, allocations: 255.2 kB / 0.5716 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1804, allocations: 157.3 kB / 0.5718 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009721/0.1814, allocations: 0.8769 MB / 0.5727 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1814, allocations: 0 / 0.5727 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1814, allocations: 0 / 0.5727 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.1815, allocations: 3.938 kB / 0.5727 GB, free: 11.7 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.001575/0.1831, allocations: 0.927 MB / 0.5736 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1831, allocations: 8.031 kB / 0.5736 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1847, allocations: 214.8 kB / 0.5738 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.1856, allocations: 0.5132 MB / 0.5743 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1857, allocations: 53.3 kB / 0.5743 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.1858, allocations: 63.98 kB / 0.5744 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.1873, allocations: 1.026 MB / 0.5754 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.1873, allocations: 7.859 kB / 0.5754 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.1874, allocations: 31.98 kB / 0.5754 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/0.1875, allocations: 73.2 kB / 0.5755 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.1886, allocations: 0.6879 MB / 0.5762 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/0.1936, allocations: 5.753 MB / 0.5818 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.1944, allocations: 0.5996 MB / 0.5824 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.1951, allocations: 417.3 kB / 0.5828 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1952, allocations: 11.78 kB / 0.5828 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1952, allocations: 38.52 kB / 0.5828 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.1952, allocations: 0 / 0.5828 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.3129/0.5081, allocations: 2.044 MB / 0.5848 GB, free: 30.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5082, allocations: 58.41 kB / 0.5849 GB, free: 30.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.5088, allocations: 455.6 kB / 0.5853 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.5089, allocations: 38.73 kB / 0.5853 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5091, allocations: 386 kB / 0.5857 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5093, allocations: 149.8 kB / 0.5859 GB, free: 30.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.5093, allocations: 12.28 kB / 0.5859 GB, free: 30.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5095, allocations: 363.5 kB / 0.5862 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.5099, allocations: 244 kB / 0.5864 GB, free: 29.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.5105, allocations: 455.3 kB / 0.5869 GB, free: 29.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.5111, allocations: 314.8 kB / 0.5872 GB, free: 29.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.5111, allocations: 5.844 kB / 0.5872 GB, free: 29.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002005/0.5131, allocations: 1.059 MB / 0.5882 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5132, allocations: 8.422 kB / 0.5882 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5132, allocations: 11.83 kB / 0.5882 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5143, allocations: 330.1 kB / 0.5886 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.5146, allocations: 99.39 kB / 0.5886 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.5207, allocations: 6.932 MB / 0.5954 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.5212, allocations: 28.33 kB / 0.5954 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.5213, allocations: 26.52 kB / 0.5955 GB, free: 23.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.5217, allocations: 252.5 kB / 0.5957 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5218, allocations: 56.97 kB / 0.5958 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.5238, allocations: 0.9173 MB / 0.5967 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5238, allocations: 3.875 kB / 0.5967 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5238, allocations: 3.625 kB / 0.5967 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5238, allocations: 2.938 kB / 0.5967 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.5267, allocations: 1.711 MB / 0.5983 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5267, allocations: 2.312 kB / 0.5983 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.5269, allocations: 41.64 kB / 0.5984 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000957/0.5279, allocations: 323.3 kB / 0.5987 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.5279, allocations: 9.375 kB / 0.5987 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006384/0.5343, allocations: 6.93 MB / 0.6055 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5343, allocations: 6.906 kB / 0.6055 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.5362, allocations: 1.009 MB / 0.6065 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.5365, allocations: 175.3 kB / 0.6066 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5366, allocations: 12.56 kB / 0.6066 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.5369, allocations: 24.52 kB / 0.6067 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.5371, allocations: 42.83 kB / 0.6067 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.5371, allocations: 13.38 kB / 0.6067 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.5376, allocations: 302.4 kB / 0.607 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5376, allocations: 1.25 kB / 0.607 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5387, allocations: 193.5 kB / 0.6072 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.5388, allocations: 107.6 kB / 0.6073 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.5408, allocations: 1.205 MB / 0.6085 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5408, allocations: 1.375 kB / 0.6085 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.5419, allocations: 0.8631 MB / 0.6093 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/0.543, allocations: 179 kB / 0.6095 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5454, allocations: 1.482 MB / 0.6109 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.5461, allocations: 0.9877 MB / 0.6119 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.5465, allocations: 103.8 kB / 0.612 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.5466, allocations: 36.17 kB / 0.612 GB, free: 11.67 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5466, allocations: 3.938 kB / 0.612 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Templates: time 0.01839/0.565, allocations: 9.182 MB / 0.621 GB, free: 8.148 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)