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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.364/2.364, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001412/0.001412, allocations: 179.2 kB / 315.4 MB, free: 4.008 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.209/2.209, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001112/0.001112, allocations: 84.36 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.099e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2178, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.931/1.149, allocations: 164.6 MB / 1.045 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/1.149, allocations: 95.31 kB / 1.045 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.727/1.876, allocations: 180.8 MB / 1.221 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.645e-06/1.876, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004913/1.877, allocations: 131.9 kB / 1.222 GB, free: 11.63 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01872/1.896, allocations: 4.148 MB / 1.226 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/1.896, allocations: 8.031 kB / 1.226 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/1.906, allocations: 1.016 MB / 1.227 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.918, allocations: 3.214 MB / 1.23 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/1.919, allocations: 156 kB / 1.23 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/1.921, allocations: 272 kB / 1.23 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01685/1.938, allocations: 4.721 MB / 1.235 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/1.963, allocations: 6.696 MB / 1.241 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002803/1.963, allocations: 27.67 kB / 1.241 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/1.965, allocations: 16 kB / 1.241 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000543/1.966, allocations: 269.2 kB / 1.242 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.677/2.643, allocations: 35.2 MB / 1.276 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005784/2.648, allocations: 2.042 MB / 1.278 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/2.652, allocations: 1.417 MB / 1.279 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/2.652, allocations: 16.92 kB / 1.279 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/2.652, allocations: 59.75 kB / 1.279 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.709e-06/2.652, allocations: 0 / 1.279 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.01495/2.667, allocations: 4.761 MB / 1.284 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/2.667, allocations: 68 kB / 1.284 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/2.67, allocations: 1.238 MB / 1.285 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/2.671, allocations: 27.67 kB / 1.285 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/2.673, allocations: 2.106 MB / 1.287 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009993/2.674, allocations: 0.5307 MB / 1.288 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/2.674, allocations: 0 / 1.288 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002069/2.674, allocations: 392.8 kB / 1.288 GB, free: 174 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/2.677, allocations: 0.9506 MB / 1.289 GB, free: 174 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/2.68, allocations: 1.658 MB / 1.291 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/2.683, allocations: 1.245 MB / 1.292 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.29e-05/2.683, allocations: 6.375 kB / 1.292 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01166/2.695, allocations: 3.498 MB / 1.296 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/2.695, allocations: 15.25 kB / 1.296 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.435e-05/2.695, allocations: 24.19 kB / 1.296 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004319/2.699, allocations: 0.8827 MB / 1.296 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/2.703, allocations: 417.7 kB / 1.297 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/2.728, allocations: 20.19 MB / 1.317 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/2.731, allocations: 80.73 kB / 1.317 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/2.732, allocations: 93.59 kB / 1.317 GB, free: 158.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006057/2.732, allocations: 180.8 kB / 1.317 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008489/2.741, allocations: 2.903 MB / 1.32 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/2.742, allocations: 233.6 kB / 1.32 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/2.75, allocations: 3.062 MB / 1.323 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/2.75, allocations: 14.38 kB / 1.323 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/2.75, allocations: 12.31 kB / 1.323 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.903e-05/2.751, allocations: 11.16 kB / 1.323 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/2.77, allocations: 6.584 MB / 1.329 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/2.77, allocations: 7.219 kB / 1.329 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/2.772, allocations: 221.5 kB / 1.33 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/2.776, allocations: 0.8567 MB / 1.33 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/2.777, allocations: 3.844 kB / 1.33 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/2.8, allocations: 20.16 MB / 1.35 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/2.8, allocations: 6.594 kB / 1.35 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/2.809, allocations: 3.501 MB / 1.354 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/2.811, allocations: 0.502 MB / 1.354 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006278/2.812, allocations: 3.938 kB / 1.354 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/2.813, allocations: 68.59 kB / 1.354 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004754/2.814, allocations: 144.1 kB / 1.354 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/2.814, allocations: 46.91 kB / 1.354 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001789/2.816, allocations: 0.9101 MB / 1.355 GB, free: 141 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/2.816, allocations: 0 / 1.355 GB, free: 141 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004941/2.821, allocations: 0.8395 MB / 1.356 GB, free: 141 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008439/2.829, allocations: 5.22 MB / 1.361 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008775/2.838, allocations: 4.074 MB / 1.365 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.838, allocations: 3.5 kB / 1.365 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005842/2.844, allocations: 2.825 MB / 1.368 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005149/2.849, allocations: 0.6529 MB / 1.369 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/2.869, allocations: 7.054 MB / 1.375 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/2.874, allocations: 3.287 MB / 1.379 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003137/2.878, allocations: 0.4942 MB / 1.379 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003462/2.881, allocations: 1.66 MB / 1.381 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/2.881, allocations: 3.391 kB / 1.381 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/3.044, allocations: 63.15 MB / 1.442 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/3.044, allocations: 170.2 kB / 1.443 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/7.38, allocations: 4 kB / 1.443 GB, free: 114.7 MB / 0.8542 GB