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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001523, allocations: 101.5 kB / 16.29 MB, free: 6.434 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.00189/0.00189, allocations: 187.5 kB / 17.22 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.126/2.126, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 70.56 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3595, allocations: 114.5 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.5593/0.9189, allocations: 5.431 MB / 0.7894 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.9233, allocations: 2.64 MB / 0.792 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.9237, allocations: 22.03 kB / 0.792 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.9254, allocations: 0.6779 MB / 0.7926 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009408/0.9264, allocations: 403.9 kB / 0.793 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.9274, allocations: 399.4 kB / 0.7934 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.9283, allocations: 0.9434 MB / 0.7943 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.9289, allocations: 484.2 kB / 0.7948 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.9293, allocations: 366.4 kB / 0.7951 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.9298, allocations: 406.1 kB / 0.7955 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.9299, allocations: 47.38 kB / 0.7956 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.9305, allocations: 361.9 kB / 0.7959 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.9308, allocations: 253 kB / 0.7962 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.931, allocations: 346 kB / 0.7965 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009622/0.932, allocations: 0.9713 MB / 0.7974 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.932, allocations: 0 / 0.7974 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.932, allocations: 2.125 kB / 0.7974 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.932, allocations: 0 / 0.7974 GB, free: 44.52 MB / 0.6544 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.001469/0.9335, allocations: 0.9756 MB / 0.7984 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9336, allocations: 10.94 kB / 0.7984 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.9349, allocations: 189.2 kB / 0.7986 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.9356, allocations: 492.3 kB / 0.7991 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.9356, allocations: 35.81 kB / 0.7991 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9358, allocations: 58.25 kB / 0.7991 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.9369, allocations: 0.836 MB / 0.8 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.937, allocations: 7.906 kB / 0.8 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.937, allocations: 19.06 kB / 0.8 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.9373, allocations: 74 kB / 0.8001 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.9382, allocations: 0.5636 MB / 0.8006 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.9426, allocations: 4.573 MB / 0.8051 GB, free: 39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.9432, allocations: 303.1 kB / 0.8054 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.9435, allocations: 222.2 kB / 0.8056 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.9436, allocations: 4.188 kB / 0.8056 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.9436, allocations: 38.41 kB / 0.8056 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/0.9436, allocations: 0 / 0.8056 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.006199/0.9498, allocations: 2.618 MB / 0.8082 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.9499, allocations: 63.7 kB / 0.8082 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.9506, allocations: 456.9 kB / 0.8087 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.9506, allocations: 35.77 kB / 0.8087 GB, free: 37.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.9509, allocations: 341.3 kB / 0.809 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.951, allocations: 142.5 kB / 0.8092 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.9512, allocations: 105.1 kB / 0.8093 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9513, allocations: 364.8 kB / 0.8096 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.9518, allocations: 235.6 kB / 0.8098 GB, free: 36.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.9523, allocations: 413.4 kB / 0.8102 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/0.9532, allocations: 0.6765 MB / 0.8109 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9532, allocations: 1.438 kB / 0.8109 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001872/0.9551, allocations: 0.9227 MB / 0.8118 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.9552, allocations: 9.359 kB / 0.8118 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9552, allocations: 6.062 kB / 0.8118 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/0.9561, allocations: 230.9 kB / 0.812 GB, free: 34.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.9567, allocations: 112.1 kB / 0.8121 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.9617, allocations: 5.338 MB / 0.8174 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.9623, allocations: 30.52 kB / 0.8174 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.9624, allocations: 23.27 kB / 0.8174 GB, free: 30.3 MB / 0.6544 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.0003516/0.9627, allocations: 226.4 kB / 0.8176 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.9628, allocations: 59.91 kB / 0.8177 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.9644, allocations: 0.7693 MB / 0.8184 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.9644, allocations: 9.922 kB / 0.8184 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9644, allocations: 2.281 kB / 0.8184 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.9644, allocations: 3.562 kB / 0.8184 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.9673, allocations: 1.5 MB / 0.8199 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9673, allocations: 1.375 kB / 0.8199 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.9677, allocations: 71.5 kB / 0.82 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000675/0.9684, allocations: 208.9 kB / 0.8202 GB, free: 28.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.9684, allocations: 7.781 kB / 0.8202 GB, free: 28.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004391/0.9728, allocations: 5.276 MB / 0.8253 GB, free: 24.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9728, allocations: 2.812 kB / 0.8253 GB, free: 24.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.9748, allocations: 1.137 MB / 0.8264 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.9751, allocations: 167.1 kB / 0.8266 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.9752, allocations: 14.39 kB / 0.8266 GB, free: 23.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.9755, allocations: 32.17 kB / 0.8267 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.9757, allocations: 35.78 kB / 0.8267 GB, free: 23.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.9757, allocations: 13.88 kB / 0.8267 GB, free: 23.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004371/0.9761, allocations: 309.9 kB / 0.827 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9762, allocations: 0 / 0.827 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001023/0.9772, allocations: 170.7 kB / 0.8272 GB, free: 23.34 MB / 0.6544 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.0001799/0.9774, allocations: 119.5 kB / 0.8273 GB, free: 23.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.9791, allocations: 0.9995 MB / 0.8282 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9792, allocations: 5.219 kB / 0.8283 GB, free: 22.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.9801, allocations: 0.6773 MB / 0.8289 GB, free: 22.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.9811, allocations: 184.5 kB / 0.8291 GB, free: 22.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.9833, allocations: 1.252 MB / 0.8303 GB, free: 21.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.9838, allocations: 0.9463 MB / 0.8312 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.9843, allocations: 115.4 kB / 0.8313 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.9844, allocations: 37.44 kB / 0.8314 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.413e-06/0.9844, allocations: 0 / 0.8314 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.02583/1.01, allocations: 8.852 MB / 0.84 GB, free: 20.09 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)