Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001193, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.55 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3685, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008546/0.377, allocations: 5.216 MB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006928/0.384, allocations: 3.809 MB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005798/0.3846, allocations: 15.94 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.3869, allocations: 0.5372 MB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3884, allocations: 414.3 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.3893, allocations: 243.5 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.391, allocations: 0.9035 MB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.3921, allocations: 0.5051 MB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.3928, allocations: 315 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.3936, allocations: 302.9 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3937, allocations: 28 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.3945, allocations: 327.4 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.3948, allocations: 159.5 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.3952, allocations: 226.9 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3964, allocations: 0.8334 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3964, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3964, allocations: 4 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.3964, allocations: 0 / 1.081 GB, free: 13.06 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001996/0.3984, allocations: 0.8143 MB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3985, allocations: 8.031 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.4015, allocations: 0.6983 MB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.4025, allocations: 452.4 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.4025, allocations: 25.02 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4027, allocations: 40.06 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4045, allocations: 0.8318 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.4046, allocations: 7.875 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.4046, allocations: 12 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/0.4048, allocations: 60.59 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.4069, allocations: 0.9272 MB / 1.085 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00431/0.4112, allocations: 2.882 MB / 1.088 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.4129, allocations: 0.5595 MB / 1.088 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/0.4136, allocations: 304.6 kB / 1.088 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4138, allocations: 97.03 kB / 1.088 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4138, allocations: 34.56 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.4138, allocations: 0 / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01484/0.4287, allocations: 3.867 MB / 1.092 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.4287, allocations: 59.41 kB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.4293, allocations: 429.5 kB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.4294, allocations: 29.7 kB / 1.093 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.4296, allocations: 248.1 kB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4297, allocations: 118.3 kB / 1.093 GB, free: 164 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.43, allocations: 89.95 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4301, allocations: 350.8 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4312, allocations: 434.2 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4322, allocations: 0.5009 MB / 1.094 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.4343, allocations: 0.9227 MB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4343, allocations: 0 / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005897/0.4402, allocations: 1.838 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4403, allocations: 12.02 kB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4403, allocations: 4 kB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/0.4447, allocations: 0.969 MB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.4455, allocations: 123.8 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.4559, allocations: 6.14 MB / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/0.4569, allocations: 119.9 kB / 1.104 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.457, allocations: 19.98 kB / 1.104 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001376/0.4584, allocations: 0.6144 MB / 1.105 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.4594, allocations: 0.4888 MB / 1.105 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00201/0.4615, allocations: 0.9054 MB / 1.106 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.4615, allocations: 3.938 kB / 1.106 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005032/0.4665, allocations: 1.614 MB / 1.108 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4666, allocations: 8 kB / 1.108 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4666, allocations: 0 / 1.108 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.4697, allocations: 0.7079 MB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.4704, allocations: 131.8 kB / 1.109 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.4781, allocations: 5.344 MB / 1.114 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.479, allocations: 107.8 kB / 1.114 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.4791, allocations: 20.06 kB / 1.114 GB, free: 10 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.4793, allocations: 200.2 kB / 1.114 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4795, allocations: 47.45 kB / 1.114 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005622/0.4851, allocations: 1.733 MB / 1.116 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4851, allocations: 8 kB / 1.116 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4851, allocations: 0 / 1.116 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4851, allocations: 3.984 kB / 1.116 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.4913, allocations: 2.419 MB / 1.118 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4913, allocations: 3.938 kB / 1.118 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4917, allocations: 71.91 kB / 1.118 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.4955, allocations: 0.8911 MB / 1.119 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.4955, allocations: 8 kB / 1.119 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008792/0.5043, allocations: 5.824 MB / 1.125 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5043, allocations: 8.016 kB / 1.125 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.5095, allocations: 1.68 MB / 1.127 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.5099, allocations: 184.5 kB / 1.127 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.51, allocations: 11.94 kB / 1.127 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.5107, allocations: 83.86 kB / 1.127 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5108, allocations: 35.94 kB / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5109, allocations: 16 kB / 1.127 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005118/0.5114, allocations: 327.1 kB / 1.127 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5114, allocations: 0 / 1.127 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001235/0.5127, allocations: 260 kB / 1.128 GB, free: 11.79 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.5129, allocations: 111.2 kB / 1.128 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006889/0.5198, allocations: 2.45 MB / 1.13 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5198, allocations: 0 / 1.13 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.5224, allocations: 0.9576 MB / 1.131 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.5232, allocations: 125.8 kB / 1.131 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.5257, allocations: 1.397 MB / 1.132 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.5264, allocations: 0.9568 MB / 1.133 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006076/0.527, allocations: 151.2 kB / 1.134 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5271, allocations: 35.41 kB / 1.134 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.5271, allocations: 4 kB / 1.134 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of Templates: time 0.02544/0.5526, allocations: 15.81 MB / 1.149 GB, free: 5.75 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)