Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 101.9 kB / 15.98 MB, free: 6.348 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.001641/0.001641, allocations: 194.8 kB / 16.91 MB, free: 6.188 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.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 291.4 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8746/0.8746, allocations: 169.2 MB / 0.4985 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 87.64 kB / 0.5953 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 86.98 MB / 0.6803 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00627/0.1536, allocations: 5.466 MB / 0.6856 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1573, allocations: 2.619 MB / 0.6882 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.1575, allocations: 19.88 kB / 0.6882 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1591, allocations: 0.6344 MB / 0.6888 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007483/0.1598, allocations: 378.1 kB / 0.6892 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.1607, allocations: 354.5 kB / 0.6895 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00083/0.1615, allocations: 0.9553 MB / 0.6905 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.1621, allocations: 0.5102 MB / 0.691 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.1625, allocations: 378.5 kB / 0.6913 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1629, allocations: 414.5 kB / 0.6917 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.163, allocations: 48 kB / 0.6918 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.1636, allocations: 363.2 kB / 0.6921 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.1638, allocations: 251.3 kB / 0.6923 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.1641, allocations: 342.3 kB / 0.6927 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.1647, allocations: 0.756 MB / 0.6934 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1648, allocations: 0 / 0.6934 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1648, allocations: 0 / 0.6934 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1648, allocations: 0 / 0.6934 GB, free: 15.99 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001338/0.1661, allocations: 0.9758 MB / 0.6944 GB, free: 14.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1662, allocations: 12.03 kB / 0.6944 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.1674, allocations: 191.9 kB / 0.6946 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.1681, allocations: 494.4 kB / 0.695 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1681, allocations: 33.38 kB / 0.6951 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.1682, allocations: 56.55 kB / 0.6951 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1693, allocations: 0.838 MB / 0.6959 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1693, allocations: 4 kB / 0.6959 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.1694, allocations: 20 kB / 0.696 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.1696, allocations: 68.94 kB / 0.696 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.1704, allocations: 0.5735 MB / 0.6966 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.1742, allocations: 4.585 MB / 0.7011 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1747, allocations: 291.3 kB / 0.7013 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.175, allocations: 225.3 kB / 0.7015 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.175, allocations: 8.281 kB / 0.7016 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.175, allocations: 42.78 kB / 0.7016 GB, free: 7.074 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.175, allocations: 0 / 0.7016 GB, free: 7.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.005154/0.1802, allocations: 2.62 MB / 0.7042 GB, free: 4.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1802, allocations: 59.34 kB / 0.7042 GB, free: 4.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1807, allocations: 461.9 kB / 0.7047 GB, free: 3.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.1807, allocations: 33.7 kB / 0.7047 GB, free: 3.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1809, allocations: 339.6 kB / 0.705 GB, free: 3.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.181, allocations: 145.9 kB / 0.7051 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1812, allocations: 110.1 kB / 0.7053 GB, free: 3.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1813, allocations: 362.8 kB / 0.7056 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.1817, allocations: 241 kB / 0.7058 GB, free: 2.559 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.1821, allocations: 406.5 kB / 0.7062 GB, free: 2.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.1829, allocations: 0.6778 MB / 0.7069 GB, free: 1.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1829, allocations: 0 / 0.7069 GB, free: 1.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001558/0.1845, allocations: 0.9213 MB / 0.7078 GB, free: 412 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1845, allocations: 8 kB / 0.7078 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1845, allocations: 4 kB / 0.7078 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.1853, allocations: 222.7 kB / 0.708 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.1858, allocations: 115.8 kB / 0.7081 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2524/0.4382, allocations: 5.337 MB / 0.7133 GB, free: 56.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4387, allocations: 34.72 kB / 0.7134 GB, free: 56.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4388, allocations: 24.97 kB / 0.7134 GB, free: 56.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002684/0.439, allocations: 222 kB / 0.7136 GB, free: 56.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.4391, allocations: 55.81 kB / 0.7136 GB, free: 56.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.4404, allocations: 0.7829 MB / 0.7144 GB, free: 56.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4404, allocations: 5.406 kB / 0.7144 GB, free: 56.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4404, allocations: 2.875 kB / 0.7144 GB, free: 56.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4404, allocations: 0.5 kB / 0.7144 GB, free: 56.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.4423, allocations: 1.497 MB / 0.7159 GB, free: 55.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4423, allocations: 3.562 kB / 0.7159 GB, free: 55.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.4427, allocations: 69.12 kB / 0.716 GB, free: 55.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006003/0.4433, allocations: 210.9 kB / 0.7162 GB, free: 55.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4433, allocations: 10.81 kB / 0.7162 GB, free: 55.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/0.4466, allocations: 5.268 MB / 0.7213 GB, free: 51.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4467, allocations: 2.906 kB / 0.7213 GB, free: 51.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.448, allocations: 1.146 MB / 0.7224 GB, free: 50.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.4482, allocations: 170.9 kB / 0.7226 GB, free: 50.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.4483, allocations: 10.12 kB / 0.7226 GB, free: 50.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.4486, allocations: 23.38 kB / 0.7226 GB, free: 50.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.4487, allocations: 45.38 kB / 0.7227 GB, free: 50.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4487, allocations: 13.5 kB / 0.7227 GB, free: 50.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002467/0.449, allocations: 311 kB / 0.723 GB, free: 50.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.449, allocations: 3.094 kB / 0.723 GB, free: 50.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006203/0.4496, allocations: 165.3 kB / 0.7231 GB, free: 50.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.4497, allocations: 116.2 kB / 0.7232 GB, free: 50.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.4511, allocations: 1.052 MB / 0.7243 GB, free: 49.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4511, allocations: 0 / 0.7243 GB, free: 49.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007261/0.4518, allocations: 0.6894 MB / 0.7249 GB, free: 49.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.4526, allocations: 181.7 kB / 0.7251 GB, free: 48.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.4543, allocations: 1.551 MB / 0.7266 GB, free: 48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.4546, allocations: 0.9477 MB / 0.7276 GB, free: 47.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4547, allocations: 41.84 kB / 0.7276 GB, free: 47.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.633e-06/0.4547, allocations: 0 / 0.7276 GB, free: 47.27 MB / 0.545 GB Notification: Performance of Templates: time 0.01424/0.469, allocations: 14.77 MB / 0.742 GB, free: 46.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)