Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009106/0.0009107, allocations: 180.2 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5785 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007422/0.0007422, allocations: 86.36 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004091, allocations: 13.06 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.587/0.762, allocations: 175.1 MB / 1.072 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.7624, allocations: 100.1 kB / 1.072 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0671/0.8295, allocations: 31.44 MB / 1.103 GB, free: 131.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8295, allocations: 0 / 1.103 GB, free: 131.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.924e-05/0.8296, allocations: 23.98 kB / 1.103 GB, free: 131.6 MB / 0.698 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.001708/0.8313, allocations: 0.8607 MB / 1.104 GB, free: 130.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8314, allocations: 8.031 kB / 1.104 GB, free: 130.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.8328, allocations: 203.8 kB / 1.104 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.8337, allocations: 0.5062 MB / 1.105 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.8337, allocations: 34.12 kB / 1.105 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.8339, allocations: 63.83 kB / 1.105 GB, free: 129.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.8349, allocations: 0.8709 MB / 1.105 GB, free: 128.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.835, allocations: 11.92 kB / 1.106 GB, free: 128.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.835, allocations: 27.98 kB / 1.106 GB, free: 128.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/0.8351, allocations: 40.98 kB / 1.106 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.8358, allocations: 0.5697 MB / 1.106 GB, free: 128.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.8394, allocations: 4.596 MB / 1.111 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.8398, allocations: 294.4 kB / 1.111 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.84, allocations: 232.7 kB / 1.111 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.84, allocations: 8 kB / 1.111 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.8401, allocations: 30.56 kB / 1.111 GB, free: 122.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.8401, allocations: 0 / 1.111 GB, free: 122.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.00457/0.8447, allocations: 2.647 MB / 1.114 GB, free: 119.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.8447, allocations: 55.41 kB / 1.114 GB, free: 119.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.845, allocations: 461.8 kB / 1.114 GB, free: 119.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.8451, allocations: 33.7 kB / 1.114 GB, free: 119.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.8452, allocations: 327.9 kB / 1.115 GB, free: 119 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.8453, allocations: 145.9 kB / 1.115 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.8453, allocations: 8 kB / 1.115 GB, free: 118.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.8454, allocations: 358.8 kB / 1.115 GB, free: 118.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.8457, allocations: 237 kB / 1.115 GB, free: 118.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.846, allocations: 387.8 kB / 1.116 GB, free: 117.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.8466, allocations: 0.6481 MB / 1.116 GB, free: 117.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8466, allocations: 3.938 kB / 1.116 GB, free: 117.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00126/0.8479, allocations: 0.9016 MB / 1.117 GB, free: 116.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.8479, allocations: 4 kB / 1.117 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8479, allocations: 11.98 kB / 1.117 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.8486, allocations: 218.6 kB / 1.117 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.8491, allocations: 111.8 kB / 1.118 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.8524, allocations: 4.934 MB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.8529, allocations: 39.97 kB / 1.122 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.8529, allocations: 20 kB / 1.122 GB, free: 110.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.8532, allocations: 213.7 kB / 1.123 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.8533, allocations: 55.34 kB / 1.123 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.8545, allocations: 0.7779 MB / 1.123 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8545, allocations: 4 kB / 1.123 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8545, allocations: 4 kB / 1.123 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8545, allocations: 7.922 kB / 1.123 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.8563, allocations: 1.474 MB / 1.125 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8563, allocations: 0 / 1.125 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.8567, allocations: 71.88 kB / 1.125 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.8572, allocations: 206.5 kB / 1.125 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.8573, allocations: 8 kB / 1.125 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.8604, allocations: 4.88 MB / 1.13 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8604, allocations: 4.141 kB / 1.13 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.8618, allocations: 1.137 MB / 1.131 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.862, allocations: 164.4 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.862, allocations: 20.06 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.8623, allocations: 23.97 kB / 1.131 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.8624, allocations: 31.89 kB / 1.131 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.8624, allocations: 16 kB / 1.131 GB, free: 100.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000285/0.8627, allocations: 314.8 kB / 1.132 GB, free: 100.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8627, allocations: 0 / 1.132 GB, free: 100.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006308/0.8634, allocations: 179.9 kB / 1.132 GB, free: 100.2 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.8635, allocations: 127.1 kB / 1.132 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.8647, allocations: 0.9851 MB / 1.133 GB, free: 99.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8647, allocations: 8.062 kB / 1.133 GB, free: 99.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.8654, allocations: 0.672 MB / 1.133 GB, free: 98.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.8663, allocations: 174.3 kB / 1.134 GB, free: 98.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.8679, allocations: 1.49 MB / 1.135 GB, free: 96.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.8682, allocations: 0.9454 MB / 1.136 GB, free: 95.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.8686, allocations: 112.8 kB / 1.136 GB, free: 95.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.8687, allocations: 35.44 kB / 1.136 GB, free: 95.55 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.8687, allocations: 0 / 1.136 GB, free: 95.55 MB / 0.698 GB Notification: Performance of Templates: time 0.01082/0.8795, allocations: 8.266 MB / 1.144 GB, free: 87.39 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)