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_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_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.296/2.296, allocations: 248.5 MB / 261.1 MB, free: 5.992 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.001552/0.001551, allocations: 186.5 kB / 320.4 MB, free: 15.35 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.003/2.003, 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.001138/0.001138, allocations: 100.2 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.808e-05/4.834e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.946/1.157, allocations: 189.8 MB / 1.076 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.158, allocations: 98.95 kB / 1.076 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5423/1.7, allocations: 113.2 MB / 1.187 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.577e-06/1.7, allocations: 0 / 1.187 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0007264/1.701, allocations: 75.98 kB / 1.187 GB, free: 15.9 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0212/1.722, allocations: 2.676 MB / 1.189 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001025/1.722, allocations: 12.03 kB / 1.189 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003484/1.726, allocations: 454.4 kB / 1.19 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/1.733, allocations: 0.6674 MB / 1.19 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008875/1.742, allocations: 2.063 MB / 1.193 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/1.743, allocations: 226 kB / 1.193 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.744, allocations: 292 kB / 1.193 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/1.761, allocations: 4.556 MB / 1.197 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/1.762, allocations: 15.78 kB / 1.197 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/1.763, allocations: 136 kB / 1.198 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003395/1.763, allocations: 165.8 kB / 1.198 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/1.775, allocations: 3.353 MB / 1.201 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04218/1.818, allocations: 21.59 MB / 1.222 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/1.821, allocations: 1.263 MB / 1.223 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/1.824, allocations: 1.026 MB / 1.224 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/1.824, allocations: 13 kB / 1.224 GB, free: 7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/1.824, allocations: 51.55 kB / 1.224 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 5.05e-06/1.824, allocations: 0 / 1.224 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.03422/1.859, allocations: 6.656 MB / 1.231 GB, free: 292 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/1.859, allocations: 64.72 kB / 1.231 GB, free: 216 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/1.861, allocations: 0.9575 MB / 1.232 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/1.861, allocations: 45.7 kB / 1.232 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.863, allocations: 1.3 MB / 1.233 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008652/1.863, allocations: 485.1 kB / 1.234 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/1.864, allocations: 36 kB / 1.234 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.864, allocations: 369.9 kB / 1.234 GB, free: 13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.866, allocations: 0.8551 MB / 1.235 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/1.869, allocations: 1.331 MB / 1.236 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/1.872, allocations: 1.098 MB / 1.237 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.872, allocations: 7.938 kB / 1.237 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01105/1.883, allocations: 3.378 MB / 1.241 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/1.883, allocations: 11.94 kB / 1.241 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.883, allocations: 16 kB / 1.241 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/1.889, allocations: 1.136 MB / 1.242 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/1.891, allocations: 271.5 kB / 1.242 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/1.92, allocations: 12.44 MB / 1.254 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/1.922, allocations: 87.97 kB / 1.254 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/1.923, allocations: 68 kB / 1.254 GB, free: 7.664 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005782/1.923, allocations: 204.4 kB / 1.254 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/1.924, allocations: 158.1 kB / 1.255 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.935, allocations: 3.095 MB / 1.258 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.935, allocations: 12 kB / 1.258 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/1.935, allocations: 12 kB / 1.258 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/1.935, allocations: 7.984 kB / 1.258 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.667/2.602, allocations: 6.092 MB / 1.264 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/2.602, allocations: 4.344 kB / 1.264 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/2.603, allocations: 151.7 kB / 1.264 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005287/2.609, allocations: 1.013 MB / 1.265 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/2.609, allocations: 28.66 kB / 1.265 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/2.635, allocations: 12.15 MB / 1.277 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/2.636, allocations: 8.297 kB / 1.277 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009414/2.645, allocations: 3.306 MB / 1.28 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/2.647, allocations: 421.5 kB / 1.28 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/2.647, allocations: 30.62 kB / 1.28 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/2.649, allocations: 77.78 kB / 1.28 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/2.65, allocations: 125.2 kB / 1.281 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/2.65, allocations: 42.27 kB / 1.281 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001762/2.652, allocations: 0.7307 MB / 1.281 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/2.652, allocations: 1.094 kB / 1.281 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003715/2.655, allocations: 0.6693 MB / 1.282 GB, free: 240.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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/2.666, allocations: 5.096 MB / 1.287 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008615/2.674, allocations: 3.02 MB / 1.29 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/2.675, allocations: 1.344 kB / 1.29 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008166/2.683, allocations: 1.903 MB / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/2.688, allocations: 423 kB / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/2.714, allocations: 5.098 MB / 1.297 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008088/2.722, allocations: 2.394 MB / 1.299 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003133/2.725, allocations: 346.3 kB / 1.3 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/2.729, allocations: 0.9927 MB / 1.301 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.854e-06/2.729, allocations: 0 / 1.301 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/2.852, allocations: 48.73 MB / 1.348 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/2.852, allocations: 196.2 kB / 1.349 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/6.561, allocations: 0 / 1.349 GB, free: 233.6 MB / 0.8698 GB