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.252/2.252, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001485/0.001484, allocations: 180.2 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 98.45 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.411e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9111/1.104, allocations: 178.7 MB / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.104, allocations: 102.4 kB / 1.059 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.916/3.02, allocations: 266.3 MB / 1.319 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/3.02, allocations: 3.391 kB / 1.319 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000607/3.021, allocations: 144.7 kB / 1.319 GB, free: 197.7 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02118/3.042, allocations: 4.632 MB / 1.323 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/3.042, allocations: 11.47 kB / 1.323 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/3.059, allocations: 1.481 MB / 1.325 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0182/3.077, allocations: 4.208 MB / 1.329 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/3.078, allocations: 163.8 kB / 1.329 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002847/3.081, allocations: 306.3 kB / 1.329 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01806/3.099, allocations: 5.573 MB / 1.335 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/3.126, allocations: 7.539 MB / 1.342 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/3.126, allocations: 26.59 kB / 1.342 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002492/3.129, allocations: 13.72 kB / 1.342 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005819/3.129, allocations: 330.8 kB / 1.343 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06708/3.196, allocations: 38.91 MB / 1.381 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/3.202, allocations: 2.711 MB / 1.383 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005198/3.207, allocations: 2.473 MB / 1.386 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/3.208, allocations: 27.75 kB / 1.386 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/3.208, allocations: 63.97 kB / 1.386 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.52e-06/3.208, allocations: 4 kB / 1.386 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1171/3.325, allocations: 27.35 MB / 1.413 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/3.325, allocations: 102.7 kB / 1.413 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/3.328, allocations: 1.628 MB / 1.414 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/3.329, allocations: 25.7 kB / 1.414 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/3.331, allocations: 2.366 MB / 1.417 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002194/3.333, allocations: 1.376 MB / 1.418 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/3.334, allocations: 0 / 1.418 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002939/3.334, allocations: 481.8 kB / 1.418 GB, free: 144 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005868/3.34, allocations: 2.647 MB / 1.421 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007043/3.347, allocations: 3.582 MB / 1.424 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/3.354, allocations: 3.237 MB / 1.428 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.019e-05/3.354, allocations: 8 kB / 1.428 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04972/3.404, allocations: 11.15 MB / 1.438 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/3.404, allocations: 22.22 kB / 1.438 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/3.404, allocations: 28 kB / 1.439 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03003/3.434, allocations: 4.894 MB / 1.443 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/3.438, allocations: 0.5031 MB / 1.444 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.104/3.542, allocations: 62.27 MB / 1.505 GB, free: 55.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/3.549, allocations: 99.86 kB / 1.505 GB, free: 55.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/3.55, allocations: 164.1 kB / 1.505 GB, free: 55.44 MB / 0.8542 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.001307/3.551, allocations: 188.1 kB / 1.505 GB, free: 55.25 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04067/3.592, allocations: 10.43 MB / 1.515 GB, free: 44.72 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/3.594, allocations: 367.7 kB / 1.516 GB, free: 44.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04299/3.638, allocations: 11.01 MB / 1.526 GB, free: 33.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.052e-05/3.638, allocations: 40 kB / 1.526 GB, free: 33.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/3.638, allocations: 48 kB / 1.526 GB, free: 33.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/3.638, allocations: 19.92 kB / 1.526 GB, free: 33.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05949/3.697, allocations: 16.53 MB / 1.543 GB, free: 16.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.083e-05/3.698, allocations: 12.92 kB / 1.543 GB, free: 16.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/3.7, allocations: 291.5 kB / 1.543 GB, free: 16.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02667/3.727, allocations: 4.421 MB / 1.547 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009111/3.728, allocations: 12 kB / 1.547 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7781/4.506, allocations: 60.01 MB / 1.606 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/4.506, allocations: 17.52 kB / 1.606 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05085/4.557, allocations: 14.7 MB / 1.62 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004151/4.561, allocations: 0.9506 MB / 1.621 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/4.563, allocations: 16.84 kB / 1.621 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005368/4.568, allocations: 113.4 kB / 1.621 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002426/4.571, allocations: 404.1 kB / 1.622 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007827/4.572, allocations: 102.8 kB / 1.622 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002893/4.575, allocations: 1.193 MB / 1.623 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/4.575, allocations: 5.969 kB / 1.623 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01119/4.586, allocations: 1.538 MB / 1.624 GB, free: 170.7 MB / 0.8698 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.04847/4.634, allocations: 17.09 MB / 1.641 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03073/4.665, allocations: 10.95 MB / 1.652 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/4.665, allocations: 2 kB / 1.652 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02218/4.687, allocations: 7.594 MB / 1.659 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008106/4.696, allocations: 0.8667 MB / 1.66 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/4.731, allocations: 11.17 MB / 1.671 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009287/4.74, allocations: 4.188 MB / 1.675 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004514/4.745, allocations: 0.6551 MB / 1.676 GB, free: 157 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004906/4.75, allocations: 2.124 MB / 1.678 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/4.75, allocations: 0 / 1.678 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/5.065, allocations: 131.1 MB / 1.806 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/5.066, allocations: 168.8 kB / 1.806 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/11.6, allocations: 0 / 1.806 GB, free: 79.73 MB / 0.8698 GB