Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001388/0.001388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 194.6 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.38 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006991/0.3402, allocations: 5.205 MB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005585/0.3458, allocations: 3.762 MB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.3461, allocations: 7.938 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3479, allocations: 0.549 MB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3491, allocations: 434 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.3498, allocations: 247.5 kB / 1.078 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.3508, allocations: 0.6968 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.3516, allocations: 0.5952 MB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.352, allocations: 363 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.3524, allocations: 314.9 kB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3525, allocations: 44 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.353, allocations: 299.5 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3531, allocations: 171.6 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.3534, allocations: 250.8 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008596/0.3543, allocations: 0.8569 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3543, allocations: 4 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3543, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.3543, allocations: 0 / 1.081 GB, free: 13.02 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.001518/0.3558, allocations: 0.8103 MB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3559, allocations: 12.03 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.3588, allocations: 0.6944 MB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.3596, allocations: 460.4 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3596, allocations: 21.03 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.3597, allocations: 36.12 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3614, allocations: 0.8356 MB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.3614, allocations: 4 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.3615, allocations: 11.98 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3616, allocations: 64.58 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.3638, allocations: 0.935 MB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.3678, allocations: 2.867 MB / 1.088 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3696, allocations: 0.5605 MB / 1.088 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.3704, allocations: 311.1 kB / 1.089 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3705, allocations: 85.09 kB / 1.089 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3705, allocations: 42.5 kB / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.3706, allocations: 0 / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01544/0.386, allocations: 3.867 MB / 1.092 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3861, allocations: 55.41 kB / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.3868, allocations: 433.5 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.3868, allocations: 33.7 kB / 1.093 GB, free: 492 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.387, allocations: 240.1 kB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3872, allocations: 122.3 kB / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3874, allocations: 90.02 kB / 1.093 GB, free: 28 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3876, allocations: 350.8 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3886, allocations: 434.2 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3897, allocations: 0.497 MB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.3919, allocations: 0.9227 MB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3919, allocations: 4 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006067/0.398, allocations: 1.841 MB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.398, allocations: 7.938 kB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.398, allocations: 8 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0045/0.4025, allocations: 0.9653 MB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.4032, allocations: 131.8 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.414, allocations: 6.643 MB / 1.105 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/0.4149, allocations: 111.8 kB / 1.105 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.415, allocations: 16 kB / 1.105 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00136/0.4163, allocations: 0.6262 MB / 1.106 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.4174, allocations: 496.6 kB / 1.106 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002056/0.4195, allocations: 0.8937 MB / 1.107 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.4195, allocations: 4 kB / 1.107 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00515/0.4247, allocations: 1.626 MB / 1.109 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4247, allocations: 8.188 kB / 1.109 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4247, allocations: 4 kB / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/0.4278, allocations: 0.7002 MB / 1.109 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.4285, allocations: 131.8 kB / 1.109 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.4368, allocations: 5.825 MB / 1.115 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.4378, allocations: 111.8 kB / 1.115 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.4379, allocations: 12 kB / 1.115 GB, free: 8.957 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.0002804/0.4382, allocations: 208.2 kB / 1.115 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4383, allocations: 39.53 kB / 1.115 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/0.4441, allocations: 1.729 MB / 1.117 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4441, allocations: 7.984 kB / 1.117 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4441, allocations: 4 kB / 1.117 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4441, allocations: 4 kB / 1.117 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.4504, allocations: 2.415 MB / 1.119 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4504, allocations: 0 / 1.119 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4509, allocations: 83.78 kB / 1.12 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.4547, allocations: 0.8913 MB / 1.12 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.4547, allocations: 19.98 kB / 1.12 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009707/0.4645, allocations: 6.307 MB / 1.127 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.4645, allocations: 11.95 kB / 1.127 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4699, allocations: 1.684 MB / 1.128 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.4703, allocations: 180.6 kB / 1.128 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4705, allocations: 11.94 kB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.4712, allocations: 87.86 kB / 1.129 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.4714, allocations: 39.89 kB / 1.129 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.4715, allocations: 11.98 kB / 1.129 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005398/0.472, allocations: 327 kB / 1.129 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4721, allocations: 0 / 1.129 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001221/0.4733, allocations: 260 kB / 1.129 GB, free: 10.22 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.0002237/0.4735, allocations: 116.8 kB / 1.129 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00706/0.4806, allocations: 2.497 MB / 1.132 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4806, allocations: 0 / 1.132 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.4832, allocations: 0.9422 MB / 1.133 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.484, allocations: 139.2 kB / 1.133 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.4871, allocations: 1.407 MB / 1.134 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.4878, allocations: 0.9529 MB / 1.135 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006582/0.4885, allocations: 151.2 kB / 1.135 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4887, allocations: 39.42 kB / 1.135 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of SimCode: time 9.91e-07/0.4887, allocations: 0 / 1.135 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.02641/0.5151, allocations: 16.45 MB / 1.151 GB, free: 3.504 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)