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_L_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_L_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.292/2.292, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001567/0.001566, allocations: 176.1 kB / 315.4 MB, free: 4.012 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.109/2.109, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 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.001065/0.001065, allocations: 87.94 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.534e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9198/1.126, allocations: 164.9 MB / 1.045 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/1.127, allocations: 90.62 kB / 1.045 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8131/1.94, allocations: 198.4 MB / 1.239 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.465e-06/1.94, allocations: 0 / 1.239 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005044/1.94, allocations: 135.9 kB / 1.239 GB, free: 9.555 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01964/1.96, allocations: 4.455 MB / 1.243 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/1.96, allocations: 8.031 kB / 1.243 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/1.971, allocations: 1.055 MB / 1.244 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.985, allocations: 3.391 MB / 1.248 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/1.985, allocations: 184 kB / 1.248 GB, free: 340 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/1.988, allocations: 327.8 kB / 1.248 GB, free: 12 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6386/2.627, allocations: 5.437 MB / 1.254 GB, free: 189 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/2.657, allocations: 7.676 MB / 1.261 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/2.658, allocations: 31.42 kB / 1.261 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/2.66, allocations: 12.81 kB / 1.261 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006434/2.661, allocations: 316.1 kB / 1.261 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06514/2.726, allocations: 38.97 MB / 1.299 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/2.732, allocations: 3.012 MB / 1.302 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/2.737, allocations: 1.891 MB / 1.304 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/2.737, allocations: 21.55 kB / 1.304 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/2.737, allocations: 55.03 kB / 1.304 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 5.28e-06/2.737, allocations: 0 / 1.304 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01847/2.756, allocations: 5.782 MB / 1.31 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/2.756, allocations: 72.72 kB / 1.31 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/2.758, allocations: 1.094 MB / 1.311 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/2.759, allocations: 32.64 kB / 1.311 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/2.76, allocations: 2.247 MB / 1.313 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/2.762, allocations: 0.605 MB / 1.314 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/2.762, allocations: 0 / 1.314 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000188/2.762, allocations: 397.9 kB / 1.314 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/2.764, allocations: 1.102 MB / 1.315 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/2.768, allocations: 1.77 MB / 1.317 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/2.771, allocations: 1.448 MB / 1.319 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-05/2.771, allocations: 6.719 kB / 1.319 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.012/2.783, allocations: 4.21 MB / 1.323 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/2.783, allocations: 16.44 kB / 1.323 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/2.783, allocations: 30.83 kB / 1.323 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/2.789, allocations: 1.441 MB / 1.324 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/2.792, allocations: 350.5 kB / 1.324 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/2.823, allocations: 16.41 MB / 1.34 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/2.826, allocations: 72.61 kB / 1.341 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/2.826, allocations: 94.48 kB / 1.341 GB, free: 151.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005839/2.827, allocations: 163.7 kB / 1.341 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009845/2.837, allocations: 3.669 MB / 1.344 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/2.838, allocations: 217.1 kB / 1.345 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009976/2.848, allocations: 3.847 MB / 1.348 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/2.848, allocations: 19.09 kB / 1.348 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/2.848, allocations: 14.97 kB / 1.348 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.271e-05/2.848, allocations: 10.27 kB / 1.348 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/2.869, allocations: 8.354 MB / 1.357 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/2.869, allocations: 7.188 kB / 1.357 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/2.87, allocations: 184.4 kB / 1.357 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005526/2.876, allocations: 1.321 MB / 1.358 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/2.876, allocations: 10.69 kB / 1.358 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0268/2.903, allocations: 15.32 MB / 1.373 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/2.903, allocations: 3.156 kB / 1.373 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009608/2.913, allocations: 4.157 MB / 1.377 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/2.915, allocations: 0.5103 MB / 1.378 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/2.915, allocations: 10.34 kB / 1.378 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/2.917, allocations: 60.97 kB / 1.378 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/2.918, allocations: 158.7 kB / 1.378 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/2.918, allocations: 51.03 kB / 1.378 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001489/2.919, allocations: 0.8061 MB / 1.379 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.91e-07/2.919, allocations: 0 / 1.379 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004989/2.924, allocations: 0.9256 MB / 1.379 GB, free: 132.6 MB / 0.8542 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/2.935, allocations: 5.882 MB / 1.385 GB, free: 129 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009782/2.945, allocations: 3.984 MB / 1.389 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/2.945, allocations: 7.219 kB / 1.389 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006584/2.952, allocations: 2.512 MB / 1.392 GB, free: 126 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/2.958, allocations: 0.6209 MB / 1.392 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/2.985, allocations: 8.093 MB / 1.4 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006579/2.991, allocations: 3.666 MB / 1.404 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002458/2.994, allocations: 457.5 kB / 1.404 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003488/2.997, allocations: 1.793 MB / 1.406 GB, free: 120 MB / 0.8542 GB Notification: Performance of SimCode: time 1.352e-06/2.997, allocations: 0 / 1.406 GB, free: 120 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1702/3.168, allocations: 68.26 MB / 1.473 GB, free: 84.24 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/3.168, allocations: 172.7 kB / 1.473 GB, free: 84.04 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/7.396, allocations: 0 / 1.473 GB, free: 84.04 MB / 0.8542 GB