Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.359/2.359, 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.002937/0.002938, allocations: 186 kB / 315.4 MB, free: 4 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.086/2.086, 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.001168/0.001168, allocations: 90.47 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.538e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.146, allocations: 160.2 MB / 1.041 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/1.146, allocations: 95.3 kB / 1.041 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5658/1.712, allocations: 138.3 MB / 1.176 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.555e-06/1.712, allocations: 0 / 1.176 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003497/1.712, allocations: 95.98 kB / 1.176 GB, free: 11.52 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01412/1.726, allocations: 3.314 MB / 1.179 GB, free: 8.141 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/1.726, allocations: 16.02 kB / 1.179 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.737, allocations: 1.04 MB / 1.18 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009861/1.747, allocations: 2.603 MB / 1.183 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/1.747, allocations: 116 kB / 1.183 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/1.749, allocations: 211.9 kB / 1.183 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01437/1.764, allocations: 4.424 MB / 1.187 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/1.784, allocations: 6.086 MB / 1.193 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001655/1.785, allocations: 11.94 kB / 1.193 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/1.786, allocations: 11.94 kB / 1.193 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001412/1.787, allocations: 387.3 kB / 1.193 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/1.847, allocations: 31.34 MB / 1.224 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/1.853, allocations: 2.099 MB / 1.226 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00531/1.858, allocations: 2.166 MB / 1.228 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/1.858, allocations: 29.28 kB / 1.228 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.858, allocations: 43.88 kB / 1.228 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 4.749e-06/1.858, allocations: 0 / 1.228 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.1089/1.967, allocations: 21.96 MB / 1.25 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/1.967, allocations: 81.41 kB / 1.25 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/1.97, allocations: 1.245 MB / 1.251 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007097/1.971, allocations: 25.7 kB / 1.251 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/1.972, allocations: 1.735 MB / 1.253 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.974, allocations: 0.8119 MB / 1.254 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/1.974, allocations: 4 kB / 1.254 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002495/1.975, allocations: 407.1 kB / 1.254 GB, free: 8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006281/1.981, allocations: 2.71 MB / 1.257 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.988, allocations: 3.228 MB / 1.26 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6165/2.605, allocations: 3.37 MB / 1.263 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/2.605, allocations: 4.562 kB / 1.263 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04615/2.651, allocations: 12 MB / 1.275 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/2.651, allocations: 14.44 kB / 1.275 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/2.651, allocations: 14.47 kB / 1.275 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04311/2.694, allocations: 7.885 MB / 1.283 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/2.697, allocations: 288.4 kB / 1.283 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08035/2.777, allocations: 31.31 MB / 1.313 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/2.781, allocations: 114.3 kB / 1.313 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/2.782, allocations: 267.3 kB / 1.314 GB, free: 228.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001068/2.783, allocations: 157.7 kB / 1.314 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03922/2.823, allocations: 11.57 MB / 1.325 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.824, allocations: 230.4 kB / 1.325 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04095/2.865, allocations: 12.17 MB / 1.337 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-05/2.865, allocations: 23.08 kB / 1.337 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-05/2.865, allocations: 24.84 kB / 1.337 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/2.865, allocations: 14.16 kB / 1.337 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05784/2.923, allocations: 17.59 MB / 1.355 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/2.923, allocations: 6.125 kB / 1.355 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/2.925, allocations: 164.7 kB / 1.355 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05637/2.982, allocations: 7.817 MB / 1.362 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009762/2.983, allocations: 84.45 kB / 1.362 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.109/3.092, allocations: 30.9 MB / 1.393 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/3.092, allocations: 10.25 kB / 1.393 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05827/3.15, allocations: 12.28 MB / 1.405 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004985/3.155, allocations: 0.9976 MB / 1.406 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/3.157, allocations: 12 kB / 1.406 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/3.162, allocations: 115.4 kB / 1.406 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001854/3.164, allocations: 262.4 kB / 1.406 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009578/3.165, allocations: 237.1 kB / 1.406 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00267/3.167, allocations: 0.9413 MB / 1.407 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.434e-06/3.167, allocations: 0 / 1.407 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008178/3.175, allocations: 1.136 MB / 1.408 GB, free: 187 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0676/3.243, allocations: 16.35 MB / 1.424 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04199/3.285, allocations: 9.05 MB / 1.433 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/3.285, allocations: 0 / 1.433 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.03224/3.318, allocations: 5.841 MB / 1.439 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005712/3.323, allocations: 419.2 kB / 1.439 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/3.355, allocations: 8.341 MB / 1.447 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008583/3.364, allocations: 3.188 MB / 1.45 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002716/3.367, allocations: 371.4 kB / 1.451 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003976/3.371, allocations: 1.456 MB / 1.452 GB, free: 143 MB / 0.8698 GB Notification: Performance of SimCode: time 2.104e-06/3.371, allocations: 0 / 1.452 GB, free: 143 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/3.652, allocations: 96.66 MB / 1.547 GB, free: 47.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/3.652, allocations: 177.2 kB / 1.547 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.37/9.022, allocations: 0 / 1.547 GB, free: 47.61 MB / 0.8698 GB