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.001385/0.001386, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001154/0.001154, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.783/1.783, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.089/2.089, allocations: 292.3 MB / 0.5496 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.002178/0.002178, allocations: 75.89 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2831, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.5234/0.8065, allocations: 5.427 MB / 0.7901 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005442/0.8121, allocations: 2.647 MB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.8125, allocations: 22.31 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.8144, allocations: 0.671 MB / 0.7934 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009985/0.8154, allocations: 415.6 kB / 0.7938 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.8165, allocations: 393.3 kB / 0.7941 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.8177, allocations: 0.9516 MB / 0.7951 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.8183, allocations: 473.6 kB / 0.7955 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.8187, allocations: 366.7 kB / 0.7959 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.8192, allocations: 408 kB / 0.7963 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.8193, allocations: 51.47 kB / 0.7963 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.8198, allocations: 362.1 kB / 0.7966 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.82, allocations: 240.9 kB / 0.7969 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.8203, allocations: 351.8 kB / 0.7972 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.8213, allocations: 0.9658 MB / 0.7982 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8213, allocations: 0 / 0.7982 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8213, allocations: 0.6562 kB / 0.7982 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.8213, allocations: 2.219 kB / 0.7982 GB, free: 44.61 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.001439/0.8228, allocations: 0.9728 MB / 0.7991 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8228, allocations: 9.484 kB / 0.7991 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.8241, allocations: 192 kB / 0.7993 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.8249, allocations: 0.5179 MB / 0.7998 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.8249, allocations: 38.52 kB / 0.7998 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.825, allocations: 56.7 kB / 0.7999 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.8261, allocations: 0.8351 MB / 0.8007 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.8262, allocations: 5.828 kB / 0.8007 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.8262, allocations: 27.52 kB / 0.8007 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.8264, allocations: 69 kB / 0.8008 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/0.8274, allocations: 0.5682 MB / 0.8014 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.8317, allocations: 4.57 MB / 0.8058 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.8324, allocations: 301.3 kB / 0.8061 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.8329, allocations: 226.6 kB / 0.8063 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.833, allocations: 3.375 kB / 0.8063 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.833, allocations: 38.62 kB / 0.8064 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.833, allocations: 0 / 0.8064 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.008411/0.8415, allocations: 2.618 MB / 0.8089 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8416, allocations: 55.28 kB / 0.809 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.8426, allocations: 457.8 kB / 0.8094 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.8427, allocations: 31.89 kB / 0.8094 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.843, allocations: 341.9 kB / 0.8098 GB, free: 36.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.8432, allocations: 145.5 kB / 0.8099 GB, free: 36.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8435, allocations: 109.9 kB / 0.81 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.8437, allocations: 364.6 kB / 0.8104 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.8443, allocations: 237.8 kB / 0.8106 GB, free: 36.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.8452, allocations: 412.2 kB / 0.811 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.8465, allocations: 0.6741 MB / 0.8116 GB, free: 35.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.8466, allocations: 2.438 kB / 0.8116 GB, free: 35.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002622/0.8492, allocations: 0.9225 MB / 0.8125 GB, free: 34.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.8492, allocations: 7.531 kB / 0.8126 GB, free: 34.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.8493, allocations: 7.297 kB / 0.8126 GB, free: 34.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.8505, allocations: 220.8 kB / 0.8128 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.8513, allocations: 114.9 kB / 0.8129 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.8574, allocations: 5.339 MB / 0.8181 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.8582, allocations: 33.25 kB / 0.8181 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.8584, allocations: 26.91 kB / 0.8182 GB, free: 30.25 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.0005605/0.859, allocations: 229.4 kB / 0.8184 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.8592, allocations: 60.14 kB / 0.8184 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.8616, allocations: 0.7792 MB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.8616, allocations: 3.562 kB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8616, allocations: 0 / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.8621, allocations: 166.2 kB / 0.8194 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.8623, allocations: 8.797 kB / 0.8194 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.8629, allocations: 25.75 kB / 0.8194 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.8631, allocations: 35.48 kB / 0.8194 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002861/0.8659, allocations: 0.8631 MB / 0.8203 GB, free: 29.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001678/0.8676, allocations: 0.9529 MB / 0.8212 GB, free: 28.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004948/0.8681, allocations: 236.3 kB / 0.8214 GB, free: 28.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005616/0.8687, allocations: 312.8 kB / 0.8217 GB, free: 28.52 MB / 0.6544 GB Notification: Performance of Backend: time 8.21e-07/0.8687, allocations: 0 / 0.8217 GB, free: 28.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003694/0.8724, allocations: 1.075 MB / 0.8228 GB, free: 27.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004306/0.8768, allocations: 1.766 MB / 0.8245 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.03716/0.9139, allocations: 10.98 MB / 0.8352 GB, free: 25.54 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)