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.001105/0.001105, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001179/0.001179, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 1.765/1.765, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001407/0.001407, allocations: 71.48 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2294, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.4051/0.6346, allocations: 5.437 MB / 0.7893 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.6384, allocations: 2.631 MB / 0.7919 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.6388, allocations: 21.28 kB / 0.7919 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.6404, allocations: 0.6842 MB / 0.7926 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008325/0.6412, allocations: 399.5 kB / 0.793 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.6421, allocations: 397.3 kB / 0.7934 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007759/0.6429, allocations: 0.9544 MB / 0.7943 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.6434, allocations: 472.8 kB / 0.7947 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.6438, allocations: 370 kB / 0.7951 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.6442, allocations: 400.6 kB / 0.7955 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.6443, allocations: 45.78 kB / 0.7955 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.6448, allocations: 362.4 kB / 0.7959 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.645, allocations: 250 kB / 0.7961 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.6453, allocations: 349 kB / 0.7964 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.6462, allocations: 0.9661 MB / 0.7974 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6462, allocations: 0 / 0.7974 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6462, allocations: 3.812 kB / 0.7974 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.6462, allocations: 0 / 0.7974 GB, free: 44.54 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.001353/0.6476, allocations: 0.9698 MB / 0.7983 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6476, allocations: 7.812 kB / 0.7983 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.649, allocations: 192.7 kB / 0.7985 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.6496, allocations: 485.2 kB / 0.799 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.6496, allocations: 39.17 kB / 0.799 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.6498, allocations: 70.73 kB / 0.7991 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6509, allocations: 0.8253 MB / 0.7999 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.6509, allocations: 9.297 kB / 0.7999 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.651, allocations: 30.67 kB / 0.7999 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/0.6512, allocations: 65.22 kB / 0.8 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.652, allocations: 0.5671 MB / 0.8005 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.6559, allocations: 4.585 MB / 0.805 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.6564, allocations: 297.8 kB / 0.8053 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.6568, allocations: 230.9 kB / 0.8055 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.6568, allocations: 3.031 kB / 0.8055 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.6568, allocations: 38.59 kB / 0.8056 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.6568, allocations: 0 / 0.8056 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005815/0.6627, allocations: 2.617 MB / 0.8081 GB, free: 37.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.6627, allocations: 59.33 kB / 0.8082 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.6634, allocations: 461.6 kB / 0.8086 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.6634, allocations: 32.05 kB / 0.8087 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.6636, allocations: 345.3 kB / 0.809 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6637, allocations: 141.8 kB / 0.8091 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.6639, allocations: 110.2 kB / 0.8092 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6641, allocations: 359.7 kB / 0.8096 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.6645, allocations: 239.3 kB / 0.8098 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.6649, allocations: 411.7 kB / 0.8102 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.6657, allocations: 0.6744 MB / 0.8108 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6657, allocations: 1.312 kB / 0.8108 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001782/0.6675, allocations: 0.9195 MB / 0.8117 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6676, allocations: 14.66 kB / 0.8118 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6676, allocations: 9.469 kB / 0.8118 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.6684, allocations: 227.3 kB / 0.812 GB, free: 34.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.669, allocations: 112.1 kB / 0.8121 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.6734, allocations: 5.337 MB / 0.8173 GB, free: 30.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.674, allocations: 30.89 kB / 0.8173 GB, free: 30.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.6741, allocations: 30.56 kB / 0.8174 GB, free: 30.31 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.0003135/0.6744, allocations: 221.7 kB / 0.8176 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.6745, allocations: 63.98 kB / 0.8176 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.676, allocations: 0.774 MB / 0.8184 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.6761, allocations: 5.531 kB / 0.8184 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6761, allocations: 2.094 kB / 0.8184 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6761, allocations: 3.609 kB / 0.8184 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.6785, allocations: 1.494 MB / 0.8199 GB, free: 28.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6785, allocations: 2.812 kB / 0.8199 GB, free: 28.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.6789, allocations: 71.66 kB / 0.8199 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006825/0.6796, allocations: 205.9 kB / 0.8201 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.6796, allocations: 12.58 kB / 0.8201 GB, free: 28.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.6836, allocations: 5.281 MB / 0.8253 GB, free: 24.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6837, allocations: 4.328 kB / 0.8253 GB, free: 24.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.6854, allocations: 1.137 MB / 0.8264 GB, free: 23.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.6856, allocations: 172.3 kB / 0.8266 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.6857, allocations: 18.17 kB / 0.8266 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.686, allocations: 25.36 kB / 0.8266 GB, free: 23.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.6861, allocations: 39.47 kB / 0.8267 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6862, allocations: 10.31 kB / 0.8267 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003617/0.6865, allocations: 311.9 kB / 0.827 GB, free: 23.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6865, allocations: 0 / 0.827 GB, free: 23.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007851/0.6873, allocations: 166.9 kB / 0.8271 GB, free: 23.36 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.0001473/0.6875, allocations: 121.5 kB / 0.8272 GB, free: 23.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.6892, allocations: 1.048 MB / 0.8283 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6892, allocations: 0 / 0.8283 GB, free: 22.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.6901, allocations: 0.682 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.0008801/0.691, allocations: 179.2 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.00202/0.693, allocations: 1.325 MB / 0.8304 GB, free: 21.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.6935, allocations: 0.9428 MB / 0.8313 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.6937, allocations: 44.44 kB / 0.8314 GB, free: 20.67 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.6937, allocations: 3.938 kB / 0.8314 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.02163/0.7153, allocations: 14.77 MB / 0.8458 GB, free: 16.67 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)