Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.0009572/0.0009573, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.00699/0.006991, allocations: 171.2 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 11.45 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3208, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005825/0.3267, allocations: 5.084 MB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003977/0.3307, allocations: 2.588 MB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.331, allocations: 19.88 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3314, allocations: 103.1 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008316/0.3322, allocations: 382.2 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.3331, allocations: 359.3 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3342, allocations: 1.252 MB / 1.084 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.3355, allocations: 0.7871 MB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.3359, allocations: 310.6 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3364, allocations: 386.4 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.3364, allocations: 31.94 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.3371, allocations: 427.1 kB / 1.086 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3373, allocations: 223.3 kB / 1.086 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.3376, allocations: 347.9 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.3385, allocations: 0.95 MB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3385, allocations: 0 / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3385, allocations: 0 / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3385, allocations: 0 / 1.087 GB, free: 10.26 MB / 0.8419 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.001299/0.3398, allocations: 0.853 MB / 1.088 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3399, allocations: 12.03 kB / 1.088 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.3412, allocations: 195.8 kB / 1.088 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.3419, allocations: 486.5 kB / 1.089 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3419, allocations: 37.36 kB / 1.089 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3421, allocations: 52.56 kB / 1.089 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3431, allocations: 0.8279 MB / 1.089 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3432, allocations: 7.938 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.3433, allocations: 27.98 kB / 1.089 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.3434, allocations: 64.94 kB / 1.09 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.3443, allocations: 0.5736 MB / 1.09 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.3483, allocations: 4.585 MB / 1.095 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.3488, allocations: 306.1 kB / 1.095 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.3491, allocations: 229.2 kB / 1.095 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3491, allocations: 4.281 kB / 1.095 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3491, allocations: 38.78 kB / 1.095 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.3492, allocations: 4 kB / 1.095 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005613/0.3548, allocations: 2.634 MB / 1.098 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3548, allocations: 55.41 kB / 1.098 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.3553, allocations: 461.9 kB / 1.098 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3554, allocations: 29.7 kB / 1.098 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3556, allocations: 339.6 kB / 1.099 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3557, allocations: 142 kB / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.3558, allocations: 57.69 kB / 1.099 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.356, allocations: 358.8 kB / 1.099 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.3563, allocations: 241 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.3569, allocations: 410.4 kB / 1.1 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.3577, allocations: 0.674 MB / 1.1 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3577, allocations: 0 / 1.1 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001635/0.3594, allocations: 0.9212 MB / 1.101 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3594, allocations: 8 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3594, allocations: 4 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.3602, allocations: 226.8 kB / 1.101 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.3607, allocations: 119.8 kB / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.3659, allocations: 4.943 MB / 1.106 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.3663, allocations: 31.97 kB / 1.106 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.3664, allocations: 24 kB / 1.106 GB, free: 5.07 MB / 0.8575 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.0003393/0.3667, allocations: 222.2 kB / 1.107 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.3668, allocations: 55.34 kB / 1.107 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3683, allocations: 0.7774 MB / 1.107 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3683, allocations: 4 kB / 1.107 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3684, allocations: 4 kB / 1.107 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3684, allocations: 7.984 kB / 1.107 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.3707, allocations: 1.497 MB / 1.109 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3707, allocations: 4 kB / 1.109 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.3711, allocations: 64.03 kB / 1.109 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006841/0.3718, allocations: 214.6 kB / 1.109 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.3718, allocations: 8 kB / 1.109 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.3763, allocations: 4.872 MB / 1.114 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3763, allocations: 0 / 1.114 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3781, allocations: 1.139 MB / 1.115 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.3783, allocations: 168.4 kB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.3784, allocations: 8 kB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.3787, allocations: 23.97 kB / 1.115 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.3788, allocations: 39.89 kB / 1.115 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.3789, allocations: 12 kB / 1.115 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000328/0.3792, allocations: 314.9 kB / 1.116 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3792, allocations: 4.062 kB / 1.116 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006413/0.3799, allocations: 164 kB / 1.116 GB, free: 10.9 MB / 0.8731 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.0001689/0.38, allocations: 111.2 kB / 1.116 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.3816, allocations: 1.008 MB / 1.117 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3816, allocations: 0 / 1.117 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.3825, allocations: 0.6879 MB / 1.118 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3836, allocations: 163.7 kB / 1.118 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3857, allocations: 1.561 MB / 1.119 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.3862, allocations: 0.9494 MB / 1.12 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003557/0.3865, allocations: 113 kB / 1.12 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3867, allocations: 35.44 kB / 1.12 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.3867, allocations: 3.938 kB / 1.12 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of Templates: time 0.01423/0.4009, allocations: 8.393 MB / 1.129 GB, free: 13.83 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)