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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.288/2.288, allocations: 248.5 MB / 261.1 MB, free: 6 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.001619/0.001619, allocations: 185.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.91/1.91, allocations: 205.2 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.001161/0.001161, allocations: 103.8 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.814e-05/4.83e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9457/1.217, allocations: 164.3 MB / 1.051 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.217, allocations: 95.28 kB / 1.051 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7383/1.956, allocations: 181.6 MB / 1.229 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.194e-06/1.956, allocations: 0 / 1.229 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004891/1.956, allocations: 128 kB / 1.229 GB, free: 4.051 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02396/1.98, allocations: 4.152 MB / 1.233 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/1.98, allocations: 12.03 kB / 1.233 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003912/1.984, allocations: 0.6982 MB / 1.233 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/1.994, allocations: 1.012 MB / 1.234 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/2.007, allocations: 3.21 MB / 1.238 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005945/2.008, allocations: 365.7 kB / 1.238 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002526/2.01, allocations: 472 kB / 1.238 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/2.037, allocations: 7.418 MB / 1.246 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/2.037, allocations: 23.77 kB / 1.246 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/2.039, allocations: 223.9 kB / 1.246 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005212/2.04, allocations: 265.2 kB / 1.246 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/2.058, allocations: 5.299 MB / 1.251 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6903/2.749, allocations: 36.26 MB / 1.287 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/2.756, allocations: 2.107 MB / 1.289 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/2.759, allocations: 1.46 MB / 1.29 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/2.76, allocations: 20 kB / 1.29 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/2.76, allocations: 56.19 kB / 1.29 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 4.719e-06/2.76, allocations: 0 / 1.29 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.01639/2.776, allocations: 4.973 MB / 1.295 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/2.776, allocations: 68.56 kB / 1.295 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/2.78, allocations: 1.538 MB / 1.297 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004527/2.781, allocations: 53.8 kB / 1.297 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/2.783, allocations: 2.102 MB / 1.299 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/2.784, allocations: 0.5586 MB / 1.299 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/2.784, allocations: 39.69 kB / 1.299 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002143/2.785, allocations: 391.8 kB / 1.3 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/2.788, allocations: 0.996 MB / 1.301 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/2.791, allocations: 1.708 MB / 1.302 GB, free: 183 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/2.795, allocations: 1.296 MB / 1.304 GB, free: 183 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/2.795, allocations: 7.094 kB / 1.304 GB, free: 183 MB / 0.8698 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01267/2.808, allocations: 3.764 MB / 1.307 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/2.808, allocations: 16 kB / 1.307 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/2.808, allocations: 24.97 kB / 1.307 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/2.813, allocations: 0.9171 MB / 1.308 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/2.816, allocations: 416.8 kB / 1.309 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02748/2.844, allocations: 20.99 MB / 1.329 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/2.847, allocations: 124.6 kB / 1.329 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006143/2.848, allocations: 98.11 kB / 1.329 GB, free: 167.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006514/2.848, allocations: 237.1 kB / 1.33 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.849, allocations: 261.7 kB / 1.33 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/2.859, allocations: 3.22 MB / 1.333 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/2.859, allocations: 21.28 kB / 1.333 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-05/2.859, allocations: 7.719 kB / 1.333 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/2.859, allocations: 10.61 kB / 1.333 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02288/2.882, allocations: 7.483 MB / 1.34 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/2.882, allocations: 7.062 kB / 1.34 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/2.884, allocations: 216.9 kB / 1.341 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004016/2.889, allocations: 0.8757 MB / 1.341 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004239/2.889, allocations: 32.88 kB / 1.341 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/2.914, allocations: 20.96 MB / 1.362 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.914, allocations: 3.781 kB / 1.362 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009184/2.923, allocations: 3.673 MB / 1.365 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/2.926, allocations: 0.5295 MB / 1.366 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/2.927, allocations: 34.77 kB / 1.366 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/2.93, allocations: 99.5 kB / 1.366 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007892/2.931, allocations: 136.5 kB / 1.366 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/2.931, allocations: 50.25 kB / 1.366 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002705/2.934, allocations: 1.158 MB / 1.367 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.52e-07/2.934, allocations: 0 / 1.367 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005522/2.939, allocations: 0.9355 MB / 1.368 GB, free: 149.7 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/2.95, allocations: 5.395 MB / 1.374 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01016/2.96, allocations: 4.277 MB / 1.378 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.96, allocations: 3.391 kB / 1.378 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006694/2.967, allocations: 2.95 MB / 1.381 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/2.973, allocations: 0.7232 MB / 1.381 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/2.996, allocations: 7.186 MB / 1.388 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006787/3.003, allocations: 3.292 MB / 1.392 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003268/3.006, allocations: 0.5143 MB / 1.392 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003552/3.01, allocations: 1.679 MB / 1.394 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.853e-06/3.01, allocations: 0 / 1.394 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/3.227, allocations: 68.19 MB / 1.46 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/3.228, allocations: 205 kB / 1.461 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/8.114, allocations: 0 / 1.461 GB, free: 123.5 MB / 0.8698 GB