Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 98.27 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.008649/0.008649, allocations: 169.9 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004291, allocations: 12.38 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3836, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01342/0.3971, allocations: 11.32 MB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009347/0.4065, allocations: 5.439 MB / 1.091 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.408, allocations: 31.88 kB / 1.091 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4091, allocations: 306 kB / 1.091 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.4108, allocations: 0.6068 MB / 1.091 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.4126, allocations: 0.6271 MB / 1.092 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003942/0.4166, allocations: 3.593 MB / 1.096 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/0.423, allocations: 4.113 MB / 1.1 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4246, allocations: 0.7666 MB / 1.1 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4263, allocations: 1.032 MB / 1.101 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.4265, allocations: 92 kB / 1.101 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4276, allocations: 463.2 kB / 1.102 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007825/0.4283, allocations: 0.7209 MB / 1.103 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009679/0.4293, allocations: 0.8103 MB / 1.103 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.433, allocations: 3.392 MB / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.433, allocations: 0 / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.433, allocations: 0 / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.552e-05/0.4331, allocations: 0 / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003132/0.4362, allocations: 1.605 MB / 1.108 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4363, allocations: 8.031 kB / 1.108 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.439, allocations: 0.4906 MB / 1.109 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.4411, allocations: 1.101 MB / 1.11 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.4412, allocations: 115.4 kB / 1.11 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.4415, allocations: 152.1 kB / 1.11 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004866/0.4464, allocations: 2.762 MB / 1.113 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.4465, allocations: 4 kB / 1.113 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.4466, allocations: 60 kB / 1.113 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/0.447, allocations: 147 kB / 1.113 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.4511, allocations: 2.315 MB / 1.115 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.4643, allocations: 10.5 MB / 1.125 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4657, allocations: 0.6156 MB / 1.126 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.4665, allocations: 392.5 kB / 1.126 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.4666, allocations: 93.08 kB / 1.127 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.4667, allocations: 42.5 kB / 1.127 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.855e-06/0.4667, allocations: 3.938 kB / 1.127 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.02409/0.4908, allocations: 6.045 MB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4909, allocations: 59.78 kB / 1.133 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.4922, allocations: 0.8828 MB / 1.133 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.4924, allocations: 29.7 kB / 1.133 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.4929, allocations: 0.7577 MB / 1.134 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.4931, allocations: 189.4 kB / 1.134 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.4933, allocations: 77.67 kB / 1.134 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4935, allocations: 390.8 kB / 1.135 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4948, allocations: 0.6616 MB / 1.135 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.4963, allocations: 1.014 MB / 1.136 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.499, allocations: 1.689 MB / 1.138 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.499, allocations: 4 kB / 1.138 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009917/0.5089, allocations: 3.194 MB / 1.141 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/0.5094, allocations: 435.4 kB / 1.142 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.5094, allocations: 8 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008306/0.5177, allocations: 1.759 MB / 1.143 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.5188, allocations: 223.6 kB / 1.144 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.5337, allocations: 9.934 MB / 1.153 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5353, allocations: 171.6 kB / 1.153 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.5354, allocations: 47.98 kB / 1.153 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5354, allocations: 5.406 kB / 1.153 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007867/0.5433, allocations: 2.637 MB / 1.156 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/0.5433, allocations: 12 kB / 1.156 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/0.5488, allocations: 1.157 MB / 1.157 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.55, allocations: 259.5 kB / 1.157 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008004/0.558, allocations: 5.418 MB / 1.163 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5595, allocations: 139.9 kB / 1.163 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.5597, allocations: 47.94 kB / 1.163 GB, free: 9.895 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001466/0.5611, allocations: 0.84 MB / 1.164 GB, free: 9.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.5614, allocations: 83 kB / 1.164 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008661/0.57, allocations: 2.645 MB / 1.166 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.5701, allocations: 8 kB / 1.166 GB, free: 6.289 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5701, allocations: 3.938 kB / 1.166 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5701, allocations: 0 / 1.166 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.5818, allocations: 4.523 MB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.5819, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.5823, allocations: 103.8 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006979/0.5893, allocations: 1.603 MB / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.5894, allocations: 15.98 kB / 1.172 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.6023, allocations: 9.469 MB / 1.182 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6023, allocations: 4.031 kB / 1.182 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008064/0.6104, allocations: 2.578 MB / 1.184 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.6112, allocations: 283.9 kB / 1.185 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.6114, allocations: 12 kB / 1.185 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6125, allocations: 131.7 kB / 1.185 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.6128, allocations: 47.92 kB / 1.185 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.6129, allocations: 12 kB / 1.185 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001232/0.6141, allocations: 0.6512 MB / 1.185 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6141, allocations: 0 / 1.185 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002735/0.6169, allocations: 0.5898 MB / 1.186 GB, free: 1.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.6171, allocations: 123.1 kB / 1.186 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006038/0.6232, allocations: 3.145 MB / 1.189 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.6232, allocations: 0 / 1.189 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.6252, allocations: 1.187 MB / 1.19 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.6269, allocations: 233.8 kB / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.6335, allocations: 3.678 MB / 1.194 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.6356, allocations: 1.622 MB / 1.196 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00162/0.6373, allocations: 0.4982 MB / 1.196 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.6375, allocations: 55.42 kB / 1.196 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/0.6375, allocations: 0 / 1.196 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.04385/0.6814, allocations: 24.04 MB / 1.22 GB, free: 14.84 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)