Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0009753/0.0009755, allocations: 97.64 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.008566/0.008566, allocations: 174 kB / 16.27 MB, free: 6.652 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 7.125 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008527/0.3689, allocations: 5.084 MB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.3749, allocations: 2.596 MB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.3758, allocations: 15.88 kB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.3763, allocations: 99.14 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.3777, allocations: 386.1 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.3791, allocations: 370.8 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3807, allocations: 1.248 MB / 1.084 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.3822, allocations: 0.7832 MB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.3828, allocations: 314.6 kB / 1.085 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.3833, allocations: 386.4 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.3834, allocations: 24 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.3843, allocations: 431.1 kB / 1.086 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.3845, allocations: 223.3 kB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.3849, allocations: 339.9 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.386, allocations: 0.9539 MB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.386, allocations: 0 / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.386, allocations: 0 / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.386, allocations: 0 / 1.087 GB, free: 10.29 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.001535/0.3876, allocations: 0.8569 MB / 1.088 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3876, allocations: 8.031 kB / 1.088 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.389, allocations: 199.8 kB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.3897, allocations: 486.4 kB / 1.089 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.3898, allocations: 37.36 kB / 1.089 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3899, allocations: 52.56 kB / 1.089 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.3911, allocations: 0.828 MB / 1.089 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3912, allocations: 3.938 kB / 1.089 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.3912, allocations: 27.98 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.3914, allocations: 64.95 kB / 1.09 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.3923, allocations: 0.5736 MB / 1.09 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.397, allocations: 4.593 MB / 1.095 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.3975, allocations: 299.2 kB / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3978, allocations: 229.2 kB / 1.095 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3978, allocations: 4.281 kB / 1.095 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3979, allocations: 46.83 kB / 1.095 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.3979, allocations: 3.938 kB / 1.095 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005618/0.4035, allocations: 2.627 MB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4036, allocations: 59.39 kB / 1.098 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.4041, allocations: 457.9 kB / 1.098 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.4041, allocations: 33.7 kB / 1.098 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4044, allocations: 347.6 kB / 1.099 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4045, allocations: 138 kB / 1.099 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.4046, allocations: 53.69 kB / 1.099 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4047, allocations: 358.8 kB / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4051, allocations: 241 kB / 1.099 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.4056, allocations: 406.4 kB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.4065, allocations: 0.674 MB / 1.1 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4065, allocations: 0 / 1.1 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001679/0.4082, allocations: 0.9249 MB / 1.101 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4082, allocations: 8 kB / 1.101 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4082, allocations: 4 kB / 1.101 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/0.409, allocations: 231 kB / 1.101 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.4096, allocations: 111.9 kB / 1.102 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.4146, allocations: 4.935 MB / 1.106 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.4151, allocations: 31.97 kB / 1.106 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.4152, allocations: 31.92 kB / 1.106 GB, free: 5.094 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.0003427/0.4155, allocations: 225.7 kB / 1.107 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.4156, allocations: 59.28 kB / 1.107 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.4172, allocations: 0.7736 MB / 1.107 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4172, allocations: 7.984 kB / 1.107 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4172, allocations: 0 / 1.107 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4173, allocations: 3.984 kB / 1.107 GB, free: 4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.4197, allocations: 1.501 MB / 1.109 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4197, allocations: 0 / 1.109 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.4201, allocations: 72.11 kB / 1.109 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/0.4208, allocations: 198.4 kB / 1.109 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.4209, allocations: 15.98 kB / 1.109 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/0.4256, allocations: 4.864 MB / 1.114 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4256, allocations: 4 kB / 1.114 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4274, allocations: 1.143 MB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.4276, allocations: 168.4 kB / 1.115 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.4277, allocations: 12 kB / 1.115 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.428, allocations: 27.91 kB / 1.115 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.4281, allocations: 35.89 kB / 1.115 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4282, allocations: 24 kB / 1.115 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003535/0.4285, allocations: 306.9 kB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4285, allocations: 0 / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006831/0.4292, allocations: 168 kB / 1.116 GB, free: 10.92 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.0001837/0.4294, allocations: 115.9 kB / 1.116 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.4311, allocations: 1.005 MB / 1.117 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4311, allocations: 3.938 kB / 1.117 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.4321, allocations: 0.6763 MB / 1.118 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4331, allocations: 171 kB / 1.118 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.4353, allocations: 1.546 MB / 1.119 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.4358, allocations: 0.9494 MB / 1.12 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003959/0.4362, allocations: 117 kB / 1.12 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4363, allocations: 39.44 kB / 1.12 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.4364, allocations: 0 / 1.12 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of Templates: time 0.01626/0.4526, allocations: 8.391 MB / 1.129 GB, free: 13.86 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)