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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9374/0.9374, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001638/0.001638, allocations: 241.8 kB / 260.5 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7052/0.7052, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.325e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003863/0.003886, allocations: 4.037 MB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.00614, allocations: 1.524 MB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.006422, allocations: 27.75 kB / 0.561 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.006921, allocations: 174.7 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.007442, allocations: 361.7 kB / 0.5615 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.007932, allocations: 323.2 kB / 0.5619 GB, free: 9.422 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007663/0.008698, allocations: 0.9902 MB / 0.5628 GB, free: 8.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.009109, allocations: 382.5 kB / 0.5632 GB, free: 8.047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.00964, allocations: 0.5222 MB / 0.5637 GB, free: 7.523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.01005, allocations: 379 kB / 0.5641 GB, free: 7.152 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.01011, allocations: 51.94 kB / 0.5641 GB, free: 7.102 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.01031, allocations: 131.7 kB / 0.5642 GB, free: 6.973 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01047, allocations: 259.2 kB / 0.5645 GB, free: 6.719 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.01063, allocations: 235.4 kB / 0.5647 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.01115, allocations: 0.5916 MB / 0.5653 GB, free: 5.895 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01115, allocations: 0 / 0.5653 GB, free: 5.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01115, allocations: 0 / 0.5653 GB, free: 5.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.01116, allocations: 4 kB / 0.5653 GB, free: 5.891 MB / 490.7 MB 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.000888/0.01205, allocations: 0.9819 MB / 0.5662 GB, free: 4.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01208, allocations: 9.938 kB / 0.5663 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/0.01275, allocations: 247.9 kB / 0.5665 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.0132, allocations: 464.8 kB / 0.5669 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.01323, allocations: 33.38 kB / 0.567 GB, free: 4.105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.01333, allocations: 64.5 kB / 0.567 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.01385, allocations: 0.7589 MB / 0.5678 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.01387, allocations: 4.125 kB / 0.5678 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.0139, allocations: 36.11 kB / 0.5678 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.454e-05/0.014, allocations: 60.95 kB / 0.5679 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.01424, allocations: 222.5 kB / 0.5681 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.01651, allocations: 4.286 MB / 0.5723 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.01669, allocations: 131.7 kB / 0.5724 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.01678, allocations: 84.2 kB / 0.5725 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.0168, allocations: 4.281 kB / 0.5725 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01682, allocations: 45.61 kB / 0.5725 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.01683, allocations: 4 kB / 0.5725 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002195/0.01902, allocations: 1.345 MB / 0.5738 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.01905, allocations: 55.41 kB / 0.5739 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.0193, allocations: 454.2 kB / 0.5743 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.01932, allocations: 29.7 kB / 0.5744 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01949, allocations: 403.1 kB / 0.5747 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.01957, allocations: 162.6 kB / 0.5749 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01968, allocations: 111.9 kB / 0.575 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01983, allocations: 0.539 MB / 0.5755 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.01992, allocations: 81.19 kB / 0.5756 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.02011, allocations: 315.3 kB / 0.5759 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.02045, allocations: 448.3 kB / 0.5763 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.02046, allocations: 3.938 kB / 0.5763 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000705/0.02116, allocations: 0.5784 MB / 0.5769 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02118, allocations: 8 kB / 0.5769 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.02119, allocations: 4 kB / 0.5769 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.02174, allocations: 227.1 kB / 0.5771 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.02197, allocations: 103.8 kB / 0.5772 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.02466, allocations: 5.558 MB / 0.5827 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.02487, allocations: 16 kB / 0.5827 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.02489, allocations: 16 kB / 0.5827 GB, free: 2.996 MB / 0.4948 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.000161/0.02505, allocations: 192.4 kB / 0.5829 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.02512, allocations: 71.59 kB / 0.5829 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.02573, allocations: 464.5 kB / 0.5834 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02574, allocations: 4 kB / 0.5834 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.02574, allocations: 0 / 0.5834 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02575, allocations: 7.984 kB / 0.5834 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.0271, allocations: 0.9241 MB / 0.5843 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.02711, allocations: 4 kB / 0.5843 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.02731, allocations: 55.91 kB / 0.5843 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006197/0.02793, allocations: 215.1 kB / 0.5846 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.02796, allocations: 16 kB / 0.5846 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.03086, allocations: 5.543 MB / 0.59 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.03087, allocations: 3.938 kB / 0.59 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.03173, allocations: 0.6948 MB / 0.5907 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.03186, allocations: 87.64 kB / 0.5907 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.0319, allocations: 8 kB / 0.5908 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.03209, allocations: 12.19 kB / 0.5908 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.03216, allocations: 39.88 kB / 0.5908 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.03219, allocations: 12 kB / 0.5908 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001734/0.03236, allocations: 282.9 kB / 0.5911 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.03236, allocations: 0 / 0.5911 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000579/0.03294, allocations: 168 kB / 0.5912 GB, free: 9.699 MB / 0.5105 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.0001375/0.03308, allocations: 123.1 kB / 0.5914 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009025/0.03398, allocations: 0.869 MB / 0.5922 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.03398, allocations: 5.359 kB / 0.5922 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.03453, allocations: 0.712 MB / 0.5929 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.03518, allocations: 176.5 kB / 0.5931 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.03684, allocations: 1.142 MB / 0.5942 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.03698, allocations: 182.5 kB / 0.5944 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.03718, allocations: 68.8 kB / 0.5944 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.03748, allocations: 206.1 kB / 0.5946 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.03748, allocations: 3.938 kB / 0.5946 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of Templates: time 0.01414/0.05162, allocations: 9.798 MB / 0.6042 GB, free: 12.44 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5686387717723846]