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_RLC.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_RLC,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.504/2.504, allocations: 248.5 MB / 261 MB, free: 6.113 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.001583/0.001582, allocations: 174.6 kB / 320.4 MB, free: 15.34 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.968/1.968, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001122/0.001122, allocations: 104.1 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.727e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9036/1.116, allocations: 178.4 MB / 1.065 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/1.117, allocations: 97.67 kB / 1.065 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.737/2.853, allocations: 267.4 MB / 1.326 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/2.853, allocations: 6.719 kB / 1.326 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005813/2.854, allocations: 142.5 kB / 1.326 GB, free: 205.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02179/2.876, allocations: 4.631 MB / 1.331 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/2.876, allocations: 11.38 kB / 1.331 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004135/2.88, allocations: 0.7477 MB / 1.332 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/2.898, allocations: 1.483 MB / 1.333 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/2.915, allocations: 4.206 MB / 1.337 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005214/2.916, allocations: 385.6 kB / 1.338 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002983/2.919, allocations: 0.4967 MB / 1.338 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/2.948, allocations: 8.282 MB / 1.346 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003394/2.948, allocations: 28.97 kB / 1.346 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0026/2.951, allocations: 231.5 kB / 1.346 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005929/2.951, allocations: 331.8 kB / 1.347 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/2.972, allocations: 6.329 MB / 1.353 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0714/3.043, allocations: 40.01 MB / 1.392 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006765/3.05, allocations: 2.786 MB / 1.395 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006046/3.056, allocations: 2.546 MB / 1.397 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/3.057, allocations: 33.38 kB / 1.397 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/3.057, allocations: 55.28 kB / 1.397 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 6.432e-06/3.057, allocations: 0 / 1.397 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.4676/3.525, allocations: 60.08 MB / 1.456 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/3.525, allocations: 98.67 kB / 1.456 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/3.528, allocations: 1.905 MB / 1.458 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/3.53, allocations: 93.7 kB / 1.458 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/3.531, allocations: 2.34 MB / 1.46 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/3.534, allocations: 1.437 MB / 1.462 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/3.534, allocations: 88 kB / 1.462 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000288/3.534, allocations: 487.4 kB / 1.462 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006571/3.541, allocations: 2.723 MB / 1.465 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007626/3.549, allocations: 3.696 MB / 1.468 GB, free: 123 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/3.557, allocations: 3.33 MB / 1.472 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.234e-05/3.557, allocations: 15.95 kB / 1.472 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04445/3.601, allocations: 11.69 MB / 1.483 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/3.601, allocations: 18.34 kB / 1.483 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/3.601, allocations: 28 kB / 1.483 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03058/3.632, allocations: 4.992 MB / 1.488 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/3.636, allocations: 0.503 MB / 1.488 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1089/3.745, allocations: 64.69 MB / 1.552 GB, free: 34.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/3.751, allocations: 183.9 kB / 1.552 GB, free: 34.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/3.752, allocations: 168 kB / 1.552 GB, free: 34.14 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001242/3.754, allocations: 344.2 kB / 1.552 GB, free: 33.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/3.755, allocations: 383.4 kB / 1.553 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04302/3.798, allocations: 11.47 MB / 1.564 GB, free: 21.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/3.798, allocations: 40 kB / 1.564 GB, free: 21.81 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000142/3.798, allocations: 48 kB / 1.564 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/3.798, allocations: 27.81 kB / 1.564 GB, free: 21.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06398/3.862, allocations: 17.82 MB / 1.581 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.617e-05/3.863, allocations: 4.938 kB / 1.581 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003988/3.867, allocations: 299.5 kB / 1.582 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03218/3.899, allocations: 4.495 MB / 1.586 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00117/3.9, allocations: 79.95 kB / 1.586 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8023/4.702, allocations: 62.21 MB / 1.647 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/4.702, allocations: 11.44 kB / 1.647 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05289/4.755, allocations: 15.17 MB / 1.662 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003993/4.759, allocations: 0.9689 MB / 1.663 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/4.761, allocations: 87.88 kB / 1.663 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/4.767, allocations: 177.7 kB / 1.663 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002696/4.769, allocations: 400.5 kB / 1.663 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009939/4.77, allocations: 105.8 kB / 1.663 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003379/4.774, allocations: 1.438 MB / 1.665 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.31e-07/4.774, allocations: 0 / 1.665 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01067/4.785, allocations: 1.758 MB / 1.667 GB, free: 171.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05125/4.836, allocations: 17.61 MB / 1.684 GB, free: 167 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03278/4.869, allocations: 11.45 MB / 1.695 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/4.869, allocations: 3.5 kB / 1.695 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.03222/4.901, allocations: 7.944 MB / 1.703 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/4.912, allocations: 0.9761 MB / 1.704 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04979/4.962, allocations: 11.54 MB / 1.715 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/4.975, allocations: 4.182 MB / 1.719 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005452/4.98, allocations: 0.6706 MB / 1.72 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00541/4.986, allocations: 2.143 MB / 1.722 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.723e-06/4.986, allocations: 0 / 1.722 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.355/5.341, allocations: 136.8 MB / 1.855 GB, free: 69.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/5.341, allocations: 207.2 kB / 1.856 GB, free: 68.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/12.27, allocations: 0 / 1.856 GB, free: 68.82 MB / 0.8855 GB