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.5 MB / 261 MB, free: 6.02 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.001413/0.001413, allocations: 179.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.1 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 94.47 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.269e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2331, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8587/1.092, allocations: 155.8 MB / 1.043 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.092, allocations: 97.48 kB / 1.043 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3559/1.448, allocations: 86.22 MB / 1.127 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.134e-06/1.448, allocations: 3.938 kB / 1.127 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001473/1.448, allocations: 47.98 kB / 1.127 GB, free: 13.5 MB / 0.7448 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.005179/1.454, allocations: 1.533 MB / 1.129 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.454, allocations: 8.031 kB / 1.129 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006167/1.454, allocations: 207.2 kB / 1.129 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007516/1.462, allocations: 0.6222 MB / 1.13 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/1.465, allocations: 0.8842 MB / 1.13 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.465, allocations: 98.52 kB / 1.13 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/1.466, allocations: 131.8 kB / 1.131 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006012/1.472, allocations: 2.302 MB / 1.133 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/1.472, allocations: 15.81 kB / 1.133 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/1.472, allocations: 67.97 kB / 1.133 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003259/1.473, allocations: 142.3 kB / 1.133 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/1.478, allocations: 1.82 MB / 1.135 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/1.5, allocations: 12.51 MB / 1.147 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/1.508, allocations: 1.833 MB / 1.149 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/1.509, allocations: 0.6011 MB / 1.149 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/1.51, allocations: 110.1 kB / 1.15 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/1.51, allocations: 43.56 kB / 1.15 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 4.027e-06/1.51, allocations: 0 / 1.15 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.007668/1.518, allocations: 2.371 MB / 1.152 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.518, allocations: 72.34 kB / 1.152 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.519, allocations: 0.783 MB / 1.153 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002342/1.52, allocations: 45.7 kB / 1.153 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/1.52, allocations: 0.7084 MB / 1.153 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/1.521, allocations: 390.4 kB / 1.154 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/1.521, allocations: 28 kB / 1.154 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.521, allocations: 369.9 kB / 1.154 GB, free: 360 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.523, allocations: 0.5818 MB / 1.155 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/1.525, allocations: 1.032 MB / 1.156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/1.527, allocations: 0.7347 MB / 1.157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/1.528, allocations: 4 kB / 1.157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006096/1.534, allocations: 2.006 MB / 1.158 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.534, allocations: 12 kB / 1.158 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.534, allocations: 16 kB / 1.158 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.535, allocations: 255.3 kB / 1.159 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/1.538, allocations: 363.3 kB / 1.159 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.551, allocations: 10.74 MB / 1.17 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.553, allocations: 123.8 kB / 1.17 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/1.553, allocations: 67.98 kB / 1.17 GB, free: 15.12 MB / 0.7917 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.0004227/1.554, allocations: 196.5 kB / 1.17 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/1.554, allocations: 130.4 kB / 1.17 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/1.559, allocations: 1.657 MB / 1.172 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/1.559, allocations: 11.95 kB / 1.172 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.559, allocations: 4 kB / 1.172 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.559, allocations: 3.984 kB / 1.172 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/1.569, allocations: 3.267 MB / 1.175 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/1.569, allocations: 12.12 kB / 1.175 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.571, allocations: 223.6 kB / 1.175 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/1.573, allocations: 238.7 kB / 1.175 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/1.573, allocations: 35.98 kB / 1.175 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.586, allocations: 10.72 MB / 1.186 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/1.586, allocations: 11.94 kB / 1.186 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/1.591, allocations: 2.052 MB / 1.188 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.592, allocations: 323.4 kB / 1.188 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/1.593, allocations: 31.98 kB / 1.188 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.594, allocations: 91.88 kB / 1.188 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/1.594, allocations: 88.56 kB / 1.188 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.594, allocations: 40 kB / 1.188 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001276/1.596, allocations: 0.5993 MB / 1.189 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.21e-07/1.596, allocations: 0 / 1.189 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002122/1.598, allocations: 411.9 kB / 1.189 GB, free: 9.465 MB / 0.8073 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.005956/1.604, allocations: 4.13 MB / 1.193 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006052/1.61, allocations: 2.421 MB / 1.196 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.61, allocations: 4.25 kB / 1.196 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/1.614, allocations: 1.604 MB / 1.197 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.617, allocations: 314.1 kB / 1.198 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/1.625, allocations: 2.491 MB / 1.2 GB, free: 13.99 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.627, allocations: 1.36 MB / 1.201 GB, free: 12.59 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001928/1.629, allocations: 355 kB / 1.202 GB, free: 12.24 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.63, allocations: 0.5227 MB / 1.202 GB, free: 11.72 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/1.63, allocations: 0 / 1.202 GB, free: 11.72 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.742, allocations: 26.9 MB / 1.229 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003801/1.742, allocations: 201 kB / 1.229 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/5.132, allocations: 0 / 1.229 GB, free: 0.9297 MB / 0.8386 GB