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_RL.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_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.439/2.439, allocations: 248.5 MB / 261.1 MB, free: 5.961 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.00152/0.00152, allocations: 180.9 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 1.99/1.99, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001128/0.001128, allocations: 93.58 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.75e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9342/1.134, allocations: 188.5 MB / 1.075 GB, free: 13.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/1.134, allocations: 94.25 kB / 1.075 GB, free: 13.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5844/1.719, allocations: 145.7 MB / 1.217 GB, free: 448 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.615e-06/1.719, allocations: 0 / 1.217 GB, free: 448 kB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000385/1.719, allocations: 95.98 kB / 1.217 GB, free: 352 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01438/1.733, allocations: 3.212 MB / 1.22 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.734, allocations: 8.031 kB / 1.22 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002607/1.736, allocations: 0.538 MB / 1.221 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/1.745, allocations: 0.8225 MB / 1.222 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.755, allocations: 2.557 MB / 1.224 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/1.756, allocations: 275.3 kB / 1.225 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.758, allocations: 383.9 kB / 1.225 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.779, allocations: 5.636 MB / 1.23 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001977/1.779, allocations: 19.77 kB / 1.23 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.781, allocations: 172 kB / 1.231 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003904/1.781, allocations: 211 kB / 1.231 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/1.796, allocations: 4.049 MB / 1.235 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6708/2.466, allocations: 27.68 MB / 1.262 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/2.47, allocations: 1.083 MB / 1.263 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/2.472, allocations: 0.9776 MB / 1.264 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/2.473, allocations: 14.06 kB / 1.264 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/2.473, allocations: 47.02 kB / 1.264 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.208e-06/2.473, allocations: 0 / 1.264 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.03683/2.51, allocations: 7.974 MB / 1.272 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/2.51, allocations: 69.62 kB / 1.272 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/2.513, allocations: 1.261 MB / 1.273 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000388/2.513, allocations: 49.23 kB / 1.273 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/2.515, allocations: 1.66 MB / 1.275 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000846/2.516, allocations: 471.2 kB / 1.275 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/2.516, allocations: 34.47 kB / 1.275 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001776/2.517, allocations: 380 kB / 1.275 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/2.519, allocations: 0.8595 MB / 1.276 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/2.522, allocations: 1.444 MB / 1.278 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/2.525, allocations: 1.113 MB / 1.279 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/2.525, allocations: 5.875 kB / 1.279 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01078/2.536, allocations: 3.189 MB / 1.282 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/2.536, allocations: 16.41 kB / 1.282 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/2.536, allocations: 21.67 kB / 1.282 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/2.54, allocations: 0.7169 MB / 1.283 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/2.543, allocations: 394.4 kB / 1.283 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/2.565, allocations: 15.57 MB / 1.298 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/2.568, allocations: 101.5 kB / 1.298 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005366/2.569, allocations: 79.91 kB / 1.298 GB, free: 212.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005926/2.569, allocations: 224.2 kB / 1.299 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/2.57, allocations: 195.9 kB / 1.299 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0096/2.58, allocations: 2.723 MB / 1.301 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.462e-05/2.58, allocations: 16.28 kB / 1.301 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/2.58, allocations: 6.938 kB / 1.301 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/2.58, allocations: 10.47 kB / 1.301 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/2.602, allocations: 6.053 MB / 1.307 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/2.602, allocations: 4.031 kB / 1.307 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/2.604, allocations: 237.9 kB / 1.308 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/2.608, allocations: 0.6371 MB / 1.308 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/2.608, allocations: 37.77 kB / 1.308 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/2.627, allocations: 15.3 MB / 1.323 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/2.627, allocations: 10.39 kB / 1.323 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009683/2.637, allocations: 4.23 MB / 1.327 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/2.639, allocations: 450.2 kB / 1.328 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/2.639, allocations: 29.44 kB / 1.328 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/2.641, allocations: 82.31 kB / 1.328 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/2.641, allocations: 115.5 kB / 1.328 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/2.642, allocations: 39.69 kB / 1.328 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001886/2.644, allocations: 0.9516 MB / 1.329 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/2.644, allocations: 0 / 1.329 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004123/2.648, allocations: 0.7097 MB / 1.33 GB, free: 199.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/2.658, allocations: 6.172 MB / 1.336 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008063/2.667, allocations: 3.392 MB / 1.339 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/2.667, allocations: 0 / 1.339 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/2.671, allocations: 2.228 MB / 1.341 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/2.676, allocations: 0.5738 MB / 1.342 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/2.694, allocations: 6.206 MB / 1.348 GB, free: 191 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004573/2.699, allocations: 2.734 MB / 1.35 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002769/2.702, allocations: 474.2 kB / 1.351 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/2.705, allocations: 1.281 MB / 1.352 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/2.705, allocations: 0 / 1.352 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/2.832, allocations: 54.08 MB / 1.405 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/2.833, allocations: 190.2 kB / 1.405 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/6.7, allocations: 3.562 kB / 1.405 GB, free: 185.4 MB / 0.8698 GB