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.001167/0.001167, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01001/0.01001, allocations: 171.4 kB / 16.26 MB, free: 6.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.971/1.971, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.863/1.863, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0005395/0.0005398, allocations: 15 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3043, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009418/0.3138, allocations: 5.052 MB / 0.7928 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.319, allocations: 2.608 MB / 0.7954 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.3197, allocations: 19.88 kB / 0.7954 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.3202, allocations: 107.1 kB / 0.7955 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3215, allocations: 382.1 kB / 0.7959 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3225, allocations: 359.3 kB / 0.7962 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3237, allocations: 1.248 MB / 0.7974 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.3249, allocations: 0.7832 MB / 0.7982 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.3254, allocations: 306.6 kB / 0.7985 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.3259, allocations: 394.4 kB / 0.7988 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.3259, allocations: 24 kB / 0.7989 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.3267, allocations: 427.1 kB / 0.7993 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.3269, allocations: 223.3 kB / 0.7995 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.3272, allocations: 343.9 kB / 0.7998 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.3281, allocations: 0.9461 MB / 0.8007 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3281, allocations: 4 kB / 0.8007 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3281, allocations: 0 / 0.8007 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3281, allocations: 0 / 0.8007 GB, free: 14.3 MB / 0.6231 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.001319/0.3295, allocations: 0.853 MB / 0.8016 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3295, allocations: 12.03 kB / 0.8016 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.3308, allocations: 195.8 kB / 0.8018 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.3315, allocations: 486.5 kB / 0.8022 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.3315, allocations: 37.31 kB / 0.8023 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3317, allocations: 52.55 kB / 0.8023 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3328, allocations: 0.828 MB / 0.8031 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3328, allocations: 7.938 kB / 0.8031 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.3329, allocations: 24 kB / 0.8032 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.3331, allocations: 68.94 kB / 0.8032 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.334, allocations: 0.5658 MB / 0.8038 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.3385, allocations: 4.6 MB / 0.8083 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.339, allocations: 299.1 kB / 0.8086 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.3393, allocations: 229.3 kB / 0.8088 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3393, allocations: 4.281 kB / 0.8088 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3394, allocations: 38.84 kB / 0.8088 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.3394, allocations: 3.938 kB / 0.8088 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005595/0.345, allocations: 2.635 MB / 0.8114 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3451, allocations: 59.41 kB / 0.8115 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.3456, allocations: 457.9 kB / 0.8119 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3457, allocations: 33.7 kB / 0.8119 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.3459, allocations: 339.7 kB / 0.8123 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.346, allocations: 149.9 kB / 0.8124 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.3461, allocations: 49.7 kB / 0.8124 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3463, allocations: 358.8 kB / 0.8128 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.3467, allocations: 241 kB / 0.813 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.3471, allocations: 410.4 kB / 0.8134 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/0.3481, allocations: 0.67 MB / 0.8141 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3481, allocations: 4 kB / 0.8141 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001703/0.3498, allocations: 0.9207 MB / 0.815 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3498, allocations: 4 kB / 0.815 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3499, allocations: 8 kB / 0.815 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.3507, allocations: 231 kB / 0.8152 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.3512, allocations: 111.9 kB / 0.8153 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.3564, allocations: 4.947 MB / 0.8201 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.357, allocations: 27.97 kB / 0.8202 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.3571, allocations: 24 kB / 0.8202 GB, free: 9.105 MB / 0.6387 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.0003675/0.3574, allocations: 230.8 kB / 0.8204 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.3575, allocations: 59.41 kB / 0.8205 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3591, allocations: 0.7702 MB / 0.8212 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3591, allocations: 11.98 kB / 0.8212 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3591, allocations: 4 kB / 0.8212 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3591, allocations: 7.922 kB / 0.8212 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.3616, allocations: 1.49 MB / 0.8227 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.3617, allocations: 4 kB / 0.8227 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.3621, allocations: 72.09 kB / 0.8228 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/0.3628, allocations: 202.4 kB / 0.823 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3628, allocations: 8 kB / 0.823 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/0.3677, allocations: 4.88 MB / 0.8277 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.3678, allocations: 4.031 kB / 0.8277 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.3698, allocations: 1.139 MB / 0.8288 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.3702, allocations: 168.4 kB / 0.829 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.3702, allocations: 8.188 kB / 0.829 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3706, allocations: 35.95 kB / 0.829 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3707, allocations: 31.91 kB / 0.8291 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3707, allocations: 16.06 kB / 0.8291 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004448/0.3712, allocations: 314.8 kB / 0.8294 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3712, allocations: 0 / 0.8294 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008494/0.3721, allocations: 175.9 kB / 0.8296 GB, free: 14.91 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.0002283/0.3723, allocations: 111.1 kB / 0.8297 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.3744, allocations: 1 MB / 0.8306 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.3744, allocations: 4 kB / 0.8306 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3754, allocations: 0.684 MB / 0.8313 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3765, allocations: 163 kB / 0.8315 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3788, allocations: 1.561 MB / 0.833 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.3794, allocations: 0.9455 MB / 0.8339 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003913/0.3798, allocations: 117 kB / 0.834 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3799, allocations: 35.44 kB / 0.8341 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.3799, allocations: 0 / 0.8341 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.01595/0.3958, allocations: 8.4 MB / 0.8423 GB, free: 1.848 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: