Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 293 MB / 309 MB, free: 4.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009783/0.0009785, allocations: 187.4 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 0.6383 GB, free: 9.07 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007581/0.0007581, allocations: 90.88 kB / 0.7527 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006819/0.0006821, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2779, allocations: 116.4 MB / 0.9905 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7925/1.071, allocations: 182.4 MB / 1.169 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.071, allocations: 99.94 kB / 1.169 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07815/1.149, allocations: 31.44 MB / 1.199 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.044e-06/1.149, allocations: 0 / 1.199 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.154e-05/1.149, allocations: 19.94 kB / 1.199 GB, free: 15.46 MB / 0.7761 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.002288/1.152, allocations: 0.866 MB / 1.2 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.152, allocations: 12.03 kB / 1.2 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/1.153, allocations: 187.9 kB / 1.2 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.155, allocations: 0.5139 MB / 1.201 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/1.155, allocations: 44.23 kB / 1.201 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.155, allocations: 55.92 kB / 1.201 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/1.157, allocations: 0.8787 MB / 1.202 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.157, allocations: 4 kB / 1.202 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/1.157, allocations: 24 kB / 1.202 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/1.157, allocations: 48.97 kB / 1.202 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.158, allocations: 0.5696 MB / 1.203 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/1.163, allocations: 4.6 MB / 1.207 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/1.164, allocations: 290.4 kB / 1.207 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.164, allocations: 228.7 kB / 1.207 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/1.164, allocations: 3.984 kB / 1.207 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.164, allocations: 42.56 kB / 1.208 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/1.164, allocations: 0 / 1.208 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.00572/1.17, allocations: 2.635 MB / 1.21 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.17, allocations: 55.41 kB / 1.21 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/1.17, allocations: 457.9 kB / 1.211 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/1.17, allocations: 37.7 kB / 1.211 GB, free: 3.227 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.171, allocations: 327.8 kB / 1.211 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/1.171, allocations: 145.9 kB / 1.211 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/1.171, allocations: 12 kB / 1.211 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.171, allocations: 362.8 kB / 1.211 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/1.171, allocations: 229 kB / 1.212 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/1.172, allocations: 394.4 kB / 1.212 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/1.173, allocations: 0.652 MB / 1.213 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.173, allocations: 0 / 1.213 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001703/1.175, allocations: 0.8979 MB / 1.214 GB, free: 80 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.175, allocations: 8 kB / 1.214 GB, free: 72 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.175, allocations: 7.938 kB / 1.214 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008374/1.175, allocations: 222.4 kB / 1.214 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/1.176, allocations: 107.8 kB / 1.214 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/1.181, allocations: 4.934 MB / 1.219 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/1.182, allocations: 31.91 kB / 1.219 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/1.182, allocations: 24.06 kB / 1.219 GB, free: 10.35 MB / 0.7917 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.0004942/1.182, allocations: 229.6 kB / 1.219 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/1.183, allocations: 55.34 kB / 1.219 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/1.184, allocations: 0.779 MB / 1.22 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.184, allocations: 4 kB / 1.22 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.184, allocations: 0 / 1.22 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.184, allocations: 4 kB / 1.22 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/1.187, allocations: 1.482 MB / 1.221 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-06/1.187, allocations: 4 kB / 1.221 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/1.187, allocations: 65.88 kB / 1.221 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006726/1.188, allocations: 214.5 kB / 1.222 GB, free: 7.398 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/1.188, allocations: 8.047 kB / 1.222 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/1.193, allocations: 4.865 MB / 1.226 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.193, allocations: 13.67 kB / 1.226 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/1.195, allocations: 1.128 MB / 1.227 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/1.196, allocations: 172.4 kB / 1.228 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.196, allocations: 8 kB / 1.228 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/1.196, allocations: 31.97 kB / 1.228 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.196, allocations: 39.89 kB / 1.228 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/1.196, allocations: 8 kB / 1.228 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004922/1.197, allocations: 310.9 kB / 1.228 GB, free: 380 kB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/1.197, allocations: 0 / 1.228 GB, free: 380 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009075/1.198, allocations: 171.9 kB / 1.228 GB, free: 208 kB / 0.7917 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.0002196/1.198, allocations: 127.2 kB / 1.228 GB, free: 72 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.2, allocations: 0.9935 MB / 1.229 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.2, allocations: 0 / 1.229 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/1.201, allocations: 0.6801 MB / 1.23 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.202, allocations: 167.5 kB / 1.23 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/1.204, allocations: 1.496 MB / 1.231 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/1.205, allocations: 0.9494 MB / 1.232 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004721/1.206, allocations: 106.7 kB / 1.232 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.206, allocations: 35.44 kB / 1.233 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/1.206, allocations: 0 / 1.233 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.01666/1.222, allocations: 8.275 MB / 1.241 GB, free: 3.359 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)