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.001787/0.001787, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001938, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.805/1.805, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.965/1.965, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001466/0.001466, allocations: 69.98 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3175, allocations: 114.5 MB / 0.7834 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008073/0.3256, allocations: 5.427 MB / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005057/0.3307, allocations: 2.639 MB / 0.7913 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.3313, allocations: 23.81 kB / 0.7913 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.3335, allocations: 0.6802 MB / 0.7919 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.3348, allocations: 405.8 kB / 0.7923 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3361, allocations: 399 kB / 0.7927 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.3373, allocations: 0.9513 MB / 0.7936 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007091/0.338, allocations: 470.7 kB / 0.7941 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.3386, allocations: 366.7 kB / 0.7944 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.339, allocations: 406.4 kB / 0.7948 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.3391, allocations: 48 kB / 0.7949 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007812/0.3399, allocations: 359.3 kB / 0.7952 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.3402, allocations: 243.4 kB / 0.7954 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.3406, allocations: 354.1 kB / 0.7958 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.3418, allocations: 0.9578 MB / 0.7967 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3418, allocations: 0 / 0.7967 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3418, allocations: 0 / 0.7967 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3418, allocations: 0 / 0.7967 GB, free: 15.9 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.001638/0.3435, allocations: 0.9737 MB / 0.7977 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3435, allocations: 12.03 kB / 0.7977 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.3449, allocations: 195.8 kB / 0.7979 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.3457, allocations: 498.3 kB / 0.7983 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.3458, allocations: 37.36 kB / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3459, allocations: 56.5 kB / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.3473, allocations: 0.8286 MB / 0.7992 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.3473, allocations: 7.938 kB / 0.7992 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.3474, allocations: 23.98 kB / 0.7993 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/0.3476, allocations: 72.94 kB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008526/0.3485, allocations: 0.5658 MB / 0.7999 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.3537, allocations: 4.577 MB / 0.8044 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3542, allocations: 303.2 kB / 0.8047 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.3545, allocations: 225.3 kB / 0.8049 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3545, allocations: 8.281 kB / 0.8049 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3545, allocations: 34.84 kB / 0.8049 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.3545, allocations: 0 / 0.8049 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005944/0.3605, allocations: 2.627 MB / 0.8075 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3606, allocations: 55.41 kB / 0.8075 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.3611, allocations: 461.9 kB / 0.808 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3611, allocations: 29.7 kB / 0.808 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3614, allocations: 343.6 kB / 0.8083 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3615, allocations: 141.9 kB / 0.8085 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3616, allocations: 106.2 kB / 0.8086 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3618, allocations: 366.7 kB / 0.8089 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3622, allocations: 241 kB / 0.8091 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.3628, allocations: 406.4 kB / 0.8095 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/0.3637, allocations: 0.674 MB / 0.8102 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3637, allocations: 0 / 0.8102 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001633/0.3653, allocations: 0.925 MB / 0.8111 GB, free: 300 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3653, allocations: 8 kB / 0.8111 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3654, allocations: 4 kB / 0.8111 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/0.3662, allocations: 226.6 kB / 0.8113 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.3667, allocations: 115.8 kB / 0.8114 GB, free: 15.94 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.3722, allocations: 5.347 MB / 0.8166 GB, free: 10.17 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.3726, allocations: 27.97 kB / 0.8167 GB, free: 10.14 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.3727, allocations: 24 kB / 0.8167 GB, free: 10.12 MB / 0.6388 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.0003448/0.373, allocations: 224.5 kB / 0.8169 GB, free: 9.895 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.3731, allocations: 63.28 kB / 0.817 GB, free: 9.832 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.3746, allocations: 0.7742 MB / 0.8177 GB, free: 9.043 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3746, allocations: 4 kB / 0.8177 GB, free: 9.039 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3746, allocations: 0 / 0.8177 GB, free: 9.039 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3747, allocations: 7.984 kB / 0.8177 GB, free: 9.031 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.377, allocations: 1.499 MB / 0.8192 GB, free: 7.445 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.377, allocations: 4 kB / 0.8192 GB, free: 7.441 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.3774, allocations: 67.89 kB / 0.8193 GB, free: 7.375 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.378, allocations: 206.5 kB / 0.8195 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3781, allocations: 8 kB / 0.8195 GB, free: 7.156 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004947/0.383, allocations: 5.282 MB / 0.8246 GB, free: 1.445 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3831, allocations: 8.016 kB / 0.8246 GB, free: 1.438 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.385, allocations: 1.139 MB / 0.8258 GB, free: 256 kB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.3853, allocations: 172.4 kB / 0.8259 GB, free: 64 kB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.3854, allocations: 15.94 kB / 0.8259 GB, free: 48 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.3857, allocations: 23.97 kB / 0.826 GB, free: 24 kB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.3858, allocations: 35.95 kB / 0.826 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3858, allocations: 11.94 kB / 0.826 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000339/0.3862, allocations: 314.9 kB / 0.8263 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3862, allocations: 0 / 0.8263 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006909/0.3869, allocations: 172 kB / 0.8265 GB, free: 15.5 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.0001619/0.387, allocations: 115.1 kB / 0.8266 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.3887, allocations: 1.047 MB / 0.8276 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3887, allocations: 0 / 0.8276 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.3897, allocations: 0.6799 MB / 0.8283 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.3906, allocations: 201.1 kB / 0.8285 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3926, allocations: 1.26 MB / 0.8297 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.3932, allocations: 0.9494 MB / 0.8306 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.3936, allocations: 113 kB / 0.8307 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.3937, allocations: 39.42 kB / 0.8308 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.3937, allocations: 0 / 0.8308 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.01637/0.4101, allocations: 8.842 MB / 0.8394 GB, free: 2.227 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)