Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.001253/0.001252, allocations: 108 kB / 15.61 MB, free: 152 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.001295/0.001295, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.77 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3731, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007634/0.3808, allocations: 5.533 MB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.3854, allocations: 2.65 MB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.3859, allocations: 27.81 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.3877, allocations: 0.6807 MB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3888, allocations: 405.7 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3899, allocations: 418.4 kB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.3909, allocations: 0.963 MB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.3916, allocations: 470.8 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.392, allocations: 362.7 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.3925, allocations: 406.4 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.3926, allocations: 48 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.3933, allocations: 359.3 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.3936, allocations: 247.3 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.3939, allocations: 342.2 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3949, allocations: 0.9695 MB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.395, allocations: 8 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.395, allocations: 0 / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.395, allocations: 0 / 1.082 GB, free: 12.55 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.001574/0.3966, allocations: 0.9814 MB / 1.083 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3966, allocations: 11.97 kB / 1.083 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.398, allocations: 195.9 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.3987, allocations: 494.4 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.3988, allocations: 45.34 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.3989, allocations: 48.47 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4001, allocations: 0.8318 MB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.4002, allocations: 11.94 kB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.4003, allocations: 23.98 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.4005, allocations: 60.95 kB / 1.084 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.4014, allocations: 0.5775 MB / 1.085 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.407, allocations: 4.573 MB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.4076, allocations: 303.2 kB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.408, allocations: 229.2 kB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.408, allocations: 4.281 kB / 1.09 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.408, allocations: 34.84 kB / 1.09 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.447e-06/0.4081, allocations: 0 / 1.09 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005783/0.4138, allocations: 2.638 MB / 1.092 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4139, allocations: 59.34 kB / 1.093 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.4144, allocations: 466 kB / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4145, allocations: 29.7 kB / 1.093 GB, free: 288 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.4147, allocations: 347.6 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4149, allocations: 146 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.415, allocations: 102.2 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4152, allocations: 362.8 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.4156, allocations: 241 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.416, allocations: 406.4 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.4169, allocations: 0.674 MB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4169, allocations: 7.984 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001652/0.4186, allocations: 0.9132 MB / 1.096 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4186, allocations: 8 kB / 1.096 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4186, allocations: 4 kB / 1.096 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.4194, allocations: 235 kB / 1.096 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.42, allocations: 115.8 kB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006107/0.4261, allocations: 5.343 MB / 1.102 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.4266, allocations: 36.03 kB / 1.102 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.4267, allocations: 24 kB / 1.102 GB, free: 6.746 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.0004325/0.4271, allocations: 218.9 kB / 1.102 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4272, allocations: 63.28 kB / 1.102 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.4287, allocations: 0.7774 MB / 1.103 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.4288, allocations: 4 kB / 1.103 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4288, allocations: 7.938 kB / 1.103 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4288, allocations: 3.984 kB / 1.103 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.4313, allocations: 1.498 MB / 1.104 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4313, allocations: 0 / 1.104 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4317, allocations: 71.88 kB / 1.104 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006409/0.4323, allocations: 206.5 kB / 1.104 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.4324, allocations: 16 kB / 1.104 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.4373, allocations: 5.269 MB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4374, allocations: 0 / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.4392, allocations: 1.135 MB / 1.111 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.4394, allocations: 168.4 kB / 1.111 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.4395, allocations: 11.94 kB / 1.111 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4398, allocations: 23.97 kB / 1.111 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.4399, allocations: 44.14 kB / 1.111 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4399, allocations: 16 kB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003687/0.4403, allocations: 314.9 kB / 1.111 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4403, allocations: 0 / 1.111 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007435/0.4411, allocations: 172 kB / 1.111 GB, free: 12.14 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.0001834/0.4412, allocations: 111.2 kB / 1.112 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.4429, allocations: 1.059 MB / 1.113 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.443, allocations: 0 / 1.113 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009488/0.4439, allocations: 0.6876 MB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.4448, allocations: 179.7 kB / 1.113 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.447, allocations: 1.268 MB / 1.115 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4476, allocations: 0.9494 MB / 1.116 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000363/0.4479, allocations: 113 kB / 1.116 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.4481, allocations: 35.44 kB / 1.116 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of SimCode: time 8.12e-07/0.4481, allocations: 0 / 1.116 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of Templates: time 0.01561/0.4637, allocations: 8.862 MB / 1.124 GB, free: 14.84 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)