Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.233/2.233, 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.001493/0.001492, allocations: 184.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.00113/0.001129, allocations: 93.98 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.627e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1976, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8927/1.09, allocations: 164.6 MB / 1.051 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.091, allocations: 94.69 kB / 1.052 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.812/1.903, allocations: 199.2 MB / 1.246 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.324e-06/1.903, allocations: 0 / 1.246 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004872/1.903, allocations: 139.9 kB / 1.246 GB, free: 2.117 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02033/1.924, allocations: 4.458 MB / 1.251 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/1.924, allocations: 8.031 kB / 1.251 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004086/1.928, allocations: 0.801 MB / 1.251 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/1.939, allocations: 1.051 MB / 1.252 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/1.952, allocations: 3.399 MB / 1.256 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006765/1.953, allocations: 415.1 kB / 1.256 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.956, allocations: 0.5427 MB / 1.257 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6668/2.623, allocations: 8.482 MB / 1.265 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000662/2.624, allocations: 26.23 kB / 1.265 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003527/2.627, allocations: 240.6 kB / 1.265 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009964/2.628, allocations: 318.5 kB / 1.265 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/2.66, allocations: 6.042 MB / 1.271 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09114/2.751, allocations: 40.09 MB / 1.31 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/2.758, allocations: 3.071 MB / 1.313 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/2.763, allocations: 1.963 MB / 1.315 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/2.763, allocations: 19.28 kB / 1.315 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/2.763, allocations: 49.19 kB / 1.315 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=179): time 5.36e-06/2.763, allocations: 0 / 1.315 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.01779/2.781, allocations: 6.029 MB / 1.321 GB, free: 169 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/2.781, allocations: 70.94 kB / 1.321 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/2.784, allocations: 1.292 MB / 1.323 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/2.785, allocations: 56.7 kB / 1.323 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/2.786, allocations: 2.241 MB / 1.325 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/2.787, allocations: 0.6262 MB / 1.326 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/2.788, allocations: 43.62 kB / 1.326 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001825/2.788, allocations: 397.5 kB / 1.326 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/2.791, allocations: 1.147 MB / 1.327 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/2.795, allocations: 1.823 MB / 1.329 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/2.798, allocations: 1.5 MB / 1.33 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/2.798, allocations: 6.625 kB / 1.33 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01269/2.811, allocations: 4.5 MB / 1.335 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/2.811, allocations: 11.62 kB / 1.335 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/2.811, allocations: 23.41 kB / 1.335 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006532/2.818, allocations: 1.579 MB / 1.336 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/2.82, allocations: 352 kB / 1.337 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03216/2.853, allocations: 16.99 MB / 1.353 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/2.855, allocations: 118.8 kB / 1.353 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/2.856, allocations: 93.66 kB / 1.353 GB, free: 159.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005752/2.856, allocations: 231.2 kB / 1.354 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/2.857, allocations: 226.4 kB / 1.354 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/2.868, allocations: 4.048 MB / 1.358 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/2.868, allocations: 16.88 kB / 1.358 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/2.868, allocations: 22.64 kB / 1.358 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/2.868, allocations: 8.719 kB / 1.358 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/2.894, allocations: 9.373 MB / 1.367 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/2.894, allocations: 3.469 kB / 1.367 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/2.896, allocations: 181.6 kB / 1.367 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/2.902, allocations: 1.35 MB / 1.369 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003947/2.903, allocations: 38.94 kB / 1.369 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02904/2.932, allocations: 15.87 MB / 1.384 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/2.932, allocations: 9.312 kB / 1.384 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/2.943, allocations: 4.316 MB / 1.388 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/2.945, allocations: 0.5356 MB / 1.389 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/2.945, allocations: 38.8 kB / 1.389 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/2.947, allocations: 89.11 kB / 1.389 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/2.948, allocations: 162.7 kB / 1.389 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/2.948, allocations: 49.16 kB / 1.389 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001889/2.95, allocations: 0.9679 MB / 1.39 GB, free: 141 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/2.95, allocations: 0 / 1.39 GB, free: 141 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005422/2.955, allocations: 1.033 MB / 1.391 GB, free: 140.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/2.967, allocations: 6.059 MB / 1.397 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01045/2.977, allocations: 4.189 MB / 1.401 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.977, allocations: 0 / 1.401 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006802/2.984, allocations: 2.622 MB / 1.404 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/2.989, allocations: 0.6766 MB / 1.404 GB, free: 134 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/3.013, allocations: 8.271 MB / 1.412 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006888/3.02, allocations: 3.661 MB / 1.416 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002529/3.022, allocations: 467.1 kB / 1.416 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003404/3.026, allocations: 1.792 MB / 1.418 GB, free: 128 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/3.026, allocations: 0 / 1.418 GB, free: 128 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.174/3.2, allocations: 71.81 MB / 1.488 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/3.2, allocations: 194.7 kB / 1.488 GB, free: 95.28 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.38/7.58, allocations: 3.438 kB / 1.488 GB, free: 95.28 MB / 0.8698 GB