Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 182.3 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.2 MB / 0.5662 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 92.52 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.612e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2152, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.134, allocations: 156.1 MB / 1.037 GB, free: 372 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/1.135, allocations: 96.39 kB / 1.037 GB, free: 316 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3722/1.507, allocations: 85.9 MB / 1.121 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.425e-06/1.507, allocations: 0 / 1.121 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001704/1.507, allocations: 43.98 kB / 1.121 GB, free: 4.648 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005233/1.513, allocations: 1.543 MB / 1.122 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.513, allocations: 12.03 kB / 1.122 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007667/1.52, allocations: 0.6106 MB / 1.123 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/1.524, allocations: 0.8842 MB / 1.124 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/1.524, allocations: 40 kB / 1.124 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/1.524, allocations: 75.91 kB / 1.124 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004438/1.529, allocations: 1.349 MB / 1.125 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006677/1.535, allocations: 2.121 MB / 1.127 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/1.536, allocations: 7.938 kB / 1.127 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/1.536, allocations: 8 kB / 1.127 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/1.536, allocations: 146.2 kB / 1.127 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/1.556, allocations: 12.22 MB / 1.139 GB, free: 316 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/1.563, allocations: 1.794 MB / 1.141 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/1.564, allocations: 0.5747 MB / 1.141 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/1.564, allocations: 102.4 kB / 1.142 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.564, allocations: 43.88 kB / 1.142 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 3.637e-06/1.564, allocations: 4 kB / 1.142 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.007907/1.572, allocations: 2.415 MB / 1.144 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.572, allocations: 64.72 kB / 1.144 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.574, allocations: 0.6483 MB / 1.145 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.574, allocations: 25.7 kB / 1.145 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/1.575, allocations: 0.7199 MB / 1.145 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/1.575, allocations: 374.5 kB / 1.146 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.575, allocations: 0 / 1.146 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.576, allocations: 361.9 kB / 1.146 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/1.577, allocations: 0.5545 MB / 1.147 GB, free: 8.535 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.579, allocations: 0.9895 MB / 1.148 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.582, allocations: 0.857 MB / 1.148 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/1.582, allocations: 7.953 kB / 1.148 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006998/1.589, allocations: 1.994 MB / 1.15 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/1.59, allocations: 8 kB / 1.15 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/1.59, allocations: 16 kB / 1.15 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/1.591, allocations: 254.9 kB / 1.151 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/1.594, allocations: 355.4 kB / 1.151 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.606, allocations: 10.32 MB / 1.161 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.608, allocations: 99.8 kB / 1.161 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/1.609, allocations: 71.97 kB / 1.161 GB, free: 8.406 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004325/1.609, allocations: 148.6 kB / 1.161 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005373/1.615, allocations: 1.482 MB / 1.163 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/1.615, allocations: 122.5 kB / 1.163 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.621, allocations: 1.631 MB / 1.165 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/1.621, allocations: 8 kB / 1.165 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.621, allocations: 4 kB / 1.165 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.621, allocations: 7.969 kB / 1.165 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.631, allocations: 3.051 MB / 1.168 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.632, allocations: 8 kB / 1.168 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.633, allocations: 227.6 kB / 1.168 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/1.635, allocations: 242.6 kB / 1.168 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.635, allocations: 8 kB / 1.168 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.649, allocations: 10.29 MB / 1.178 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/1.649, allocations: 11.94 kB / 1.178 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/1.654, allocations: 2.04 MB / 1.18 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.655, allocations: 319.4 kB / 1.18 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/1.656, allocations: 4 kB / 1.18 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.657, allocations: 75.88 kB / 1.18 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/1.657, allocations: 92.55 kB / 1.18 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.658, allocations: 36 kB / 1.181 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001049/1.659, allocations: 0.4939 MB / 1.181 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.11e-07/1.659, allocations: 0 / 1.181 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00252/1.661, allocations: 351.9 kB / 1.181 GB, free: 2.359 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0067/1.668, allocations: 4.112 MB / 1.185 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005587/1.674, allocations: 2.304 MB / 1.188 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.674, allocations: 0 / 1.188 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.677, allocations: 1.538 MB / 1.189 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.68, allocations: 282 kB / 1.189 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/1.688, allocations: 2.39 MB / 1.192 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.69, allocations: 1.359 MB / 1.193 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001992/1.692, allocations: 334.4 kB / 1.193 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.693, allocations: 0.5266 MB / 1.194 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of SimCode: time 1.493e-06/1.693, allocations: 0 / 1.194 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/1.792, allocations: 24.83 MB / 1.218 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/1.792, allocations: 167.5 kB / 1.218 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.259/5.051, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.8386 GB