Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.282/2.282, allocations: 248.5 MB / 261 MB, free: 5.98 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.002515/0.002515, allocations: 183.1 kB / 320.4 MB, free: 15.31 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.092/2.092, allocations: 205.1 MB / 0.571 GB, free: 11.79 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.001267/0.001266, allocations: 94.09 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.833e-05/4.852e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.239, allocations: 174.5 MB / 1.061 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/1.24, allocations: 100.4 kB / 1.061 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6639/1.904, allocations: 159.7 MB / 1.217 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.404e-06/1.904, allocations: 0 / 1.217 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002994/1.904, allocations: 99.92 kB / 1.217 GB, free: 0.5469 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01547/1.919, allocations: 3.351 MB / 1.221 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.92, allocations: 12.03 kB / 1.221 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003081/1.923, allocations: 0.6324 MB / 1.221 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/1.932, allocations: 0.9589 MB / 1.222 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0088/1.941, allocations: 2.287 MB / 1.224 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/1.941, allocations: 324.6 kB / 1.225 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/1.944, allocations: 439.9 kB / 1.225 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/1.968, allocations: 6.606 MB / 1.232 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/1.969, allocations: 11.94 kB / 1.232 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.97, allocations: 184 kB / 1.232 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005004/1.971, allocations: 258.9 kB / 1.232 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/1.99, allocations: 5.224 MB / 1.237 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7383/2.728, allocations: 32.47 MB / 1.269 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/2.734, allocations: 1.849 MB / 1.271 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/2.737, allocations: 1.077 MB / 1.272 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/2.737, allocations: 101.8 kB / 1.272 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/2.737, allocations: 47.19 kB / 1.272 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 4.468e-06/2.737, allocations: 1.094 kB / 1.272 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.01024/2.748, allocations: 4.04 MB / 1.276 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/2.748, allocations: 144.5 kB / 1.276 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/2.751, allocations: 1.447 MB / 1.277 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/2.752, allocations: 45.3 kB / 1.277 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/2.753, allocations: 1.898 MB / 1.279 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005946/2.754, allocations: 338 kB / 1.279 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/2.754, allocations: 38.34 kB / 1.28 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00019/2.755, allocations: 398.4 kB / 1.28 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/2.757, allocations: 1.083 MB / 1.281 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/2.761, allocations: 2.152 MB / 1.283 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/2.765, allocations: 1.513 MB / 1.285 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-05/2.765, allocations: 10.03 kB / 1.285 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009136/2.774, allocations: 3.27 MB / 1.288 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00352/2.777, allocations: 13.41 MB / 1.301 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/2.778, allocations: 34.11 kB / 1.301 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/2.778, allocations: 55.23 kB / 1.301 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/2.783, allocations: 0.6252 MB / 1.302 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/2.783, allocations: 74.42 kB / 1.302 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/2.787, allocations: 370.9 kB / 1.302 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/2.788, allocations: 116 kB / 1.302 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.788, allocations: 3.875 kB / 1.302 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007112/2.795, allocations: 2.71 MB / 1.305 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.076e-05/2.795, allocations: 37.16 kB / 1.305 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/2.795, allocations: 53 kB / 1.305 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/2.799, allocations: 0.5565 MB / 1.305 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001011/2.799, allocations: 70.06 kB / 1.305 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/2.802, allocations: 247.5 kB / 1.306 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/2.802, allocations: 114.5 kB / 1.306 GB, free: 194.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008602/2.803, allocations: 250.1 kB / 1.306 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/2.804, allocations: 159.2 kB / 1.306 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/2.809, allocations: 1.887 MB / 1.308 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/2.809, allocations: 13 kB / 1.308 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/2.809, allocations: 1.766 kB / 1.308 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/2.809, allocations: 8.266 kB / 1.308 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/2.83, allocations: 7.731 MB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/2.83, allocations: 6.625 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/2.833, allocations: 341.8 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.014e-05/2.833, allocations: 11.84 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/2.833, allocations: 24.94 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/2.833, allocations: 14.94 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/2.833, allocations: 8.781 kB / 1.316 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/2.839, allocations: 2.715 MB / 1.319 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/2.84, allocations: 460.6 kB / 1.319 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/2.841, allocations: 22.84 kB / 1.319 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/2.843, allocations: 165.8 kB / 1.319 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/2.843, allocations: 81.7 kB / 1.319 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/2.843, allocations: 36.09 kB / 1.319 GB, free: 192 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00249/2.846, allocations: 1.074 MB / 1.32 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.31e-07/2.846, allocations: 0 / 1.32 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007562/2.853, allocations: 1.23 MB / 1.322 GB, free: 191.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005223/2.859, allocations: 5.205 MB / 1.327 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008781/2.868, allocations: 3.794 MB / 1.33 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/2.868, allocations: 3.969 kB / 1.33 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/2.87, allocations: 0.8704 MB / 1.331 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/2.873, allocations: 386.7 kB / 1.332 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/2.892, allocations: 6.546 MB / 1.338 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/2.897, allocations: 2.928 MB / 1.341 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005707/2.903, allocations: 1.257 MB / 1.342 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/2.906, allocations: 1.273 MB / 1.343 GB, free: 186 MB / 0.8698 GB Notification: Performance of SimCode: time 3.046e-06/2.906, allocations: 1.219 kB / 1.343 GB, free: 186 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/3.048, allocations: 47.3 MB / 1.39 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/3.048, allocations: 177.1 kB / 1.39 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/6.813, allocations: 4 kB / 1.39 GB, free: 183.7 MB / 0.8698 GB