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.001637/0.001637, allocations: 105.4 kB / 15.7 MB, free: 24 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.001732/0.001732, allocations: 188.6 kB / 16.64 MB, free: 6.594 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.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.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001619/0.001619, allocations: 68.61 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2841, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008783/0.2929, allocations: 5.445 MB / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005598/0.2985, allocations: 2.647 MB / 0.792 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.2994, allocations: 19.88 kB / 0.792 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.3017, allocations: 0.6759 MB / 0.7927 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.303, allocations: 409.7 kB / 0.7931 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3043, allocations: 395.1 kB / 0.7935 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.3059, allocations: 0.9474 MB / 0.7944 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009065/0.3068, allocations: 466.4 kB / 0.7948 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.3077, allocations: 370.6 kB / 0.7952 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008596/0.3085, allocations: 406.4 kB / 0.7956 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.3087, allocations: 48 kB / 0.7956 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.3096, allocations: 363.2 kB / 0.796 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.31, allocations: 247.3 kB / 0.7962 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.3107, allocations: 346.4 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3123, allocations: 0.981 MB / 0.7975 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3123, allocations: 0 / 0.7975 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3124, allocations: 0 / 0.7975 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.164e-05/0.3124, allocations: 0 / 0.7975 GB, free: 14.98 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.002522/0.3149, allocations: 0.966 MB / 0.7984 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.315, allocations: 16.03 kB / 0.7985 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.3166, allocations: 195.8 kB / 0.7986 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3176, allocations: 0.5101 MB / 0.7991 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.3177, allocations: 45.3 kB / 0.7992 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.3179, allocations: 60.53 kB / 0.7992 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3195, allocations: 0.8246 MB / 0.8001 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.3196, allocations: 7.938 kB / 0.8001 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.3196, allocations: 23.98 kB / 0.8001 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.3199, allocations: 64.95 kB / 0.8001 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3211, allocations: 0.5774 MB / 0.8007 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005345/0.3264, allocations: 4.565 MB / 0.8052 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.327, allocations: 295.2 kB / 0.8054 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.3273, allocations: 229.3 kB / 0.8057 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3274, allocations: 4.281 kB / 0.8057 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.3274, allocations: 38.83 kB / 0.8057 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.3274, allocations: 0 / 0.8057 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.006327/0.3337, allocations: 2.623 MB / 0.8083 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3338, allocations: 55.41 kB / 0.8083 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.3345, allocations: 461.9 kB / 0.8088 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3345, allocations: 29.7 kB / 0.8088 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.3348, allocations: 339.6 kB / 0.8091 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.335, allocations: 145.9 kB / 0.8093 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3352, allocations: 110.2 kB / 0.8094 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3354, allocations: 362.8 kB / 0.8097 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.3358, allocations: 237 kB / 0.8099 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.3364, allocations: 417.4 kB / 0.8103 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.3373, allocations: 0.674 MB / 0.811 GB, free: 312 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3373, allocations: 0 / 0.811 GB, free: 312 kB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001805/0.3392, allocations: 0.925 MB / 0.8119 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3392, allocations: 8 kB / 0.8119 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3392, allocations: 4 kB / 0.8119 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.34, allocations: 218.8 kB / 0.8121 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.3405, allocations: 115.8 kB / 0.8122 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.3462, allocations: 5.339 MB / 0.8174 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.3468, allocations: 27.97 kB / 0.8175 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.3468, allocations: 27.97 kB / 0.8175 GB, free: 9.203 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.000446/0.3473, allocations: 226 kB / 0.8177 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3475, allocations: 67.27 kB / 0.8178 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.3492, allocations: 0.778 MB / 0.8185 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3492, allocations: 4 kB / 0.8185 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3492, allocations: 0 / 0.8185 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3493, allocations: 0 / 0.8185 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.3522, allocations: 1.498 MB / 0.82 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3522, allocations: 3.938 kB / 0.82 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3526, allocations: 71.88 kB / 0.8201 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007429/0.3534, allocations: 202.5 kB / 0.8203 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.3534, allocations: 8.188 kB / 0.8203 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.3589, allocations: 5.285 MB / 0.8254 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3589, allocations: 4.031 kB / 0.8254 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.3609, allocations: 1.135 MB / 0.8265 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.3612, allocations: 168.4 kB / 0.8267 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3613, allocations: 15.94 kB / 0.8267 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.3617, allocations: 27.95 kB / 0.8267 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.3618, allocations: 31.91 kB / 0.8268 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.3619, allocations: 19.92 kB / 0.8268 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004409/0.3623, allocations: 310.9 kB / 0.8271 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3623, allocations: 4.062 kB / 0.8271 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008464/0.3632, allocations: 168 kB / 0.8273 GB, free: 14.58 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.0001917/0.3634, allocations: 115.1 kB / 0.8274 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.3653, allocations: 1.008 MB / 0.8284 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3653, allocations: 0 / 0.8284 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3663, allocations: 0.676 MB / 0.829 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3674, allocations: 191.1 kB / 0.8292 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3698, allocations: 1.247 MB / 0.8304 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.3704, allocations: 0.9416 MB / 0.8313 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.3709, allocations: 125 kB / 0.8314 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.371, allocations: 35.44 kB / 0.8315 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.371, allocations: 0 / 0.8315 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.01794/0.3889, allocations: 8.834 MB / 0.8401 GB, free: 1.383 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)