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.326/2.326, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001545, allocations: 176.4 kB / 325.5 MB, free: 2.891 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.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001164/0.001164, allocations: 95.05 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006408/0.0006409, allocations: 14.84 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2227, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9683/1.191, allocations: 164.4 MB / 1.059 GB, free: 65.13 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.192, allocations: 99.38 kB / 1.059 GB, free: 65.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7295/1.921, allocations: 182.4 MB / 1.238 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.907e-06/1.921, allocations: 0 / 1.238 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005659/1.922, allocations: 128 kB / 1.238 GB, free: 6.816 MB / 0.7292 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.02347/1.945, allocations: 4.498 MB / 1.242 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/1.945, allocations: 12.03 kB / 1.242 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004358/1.95, allocations: 0.7099 MB / 1.243 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/1.96, allocations: 1.02 MB / 1.244 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/1.973, allocations: 3.221 MB / 1.247 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006284/1.974, allocations: 361.7 kB / 1.247 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/1.977, allocations: 483.8 kB / 1.248 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/2.007, allocations: 7.503 MB / 1.255 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003113/2.007, allocations: 19.81 kB / 1.255 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/2.009, allocations: 219.9 kB / 1.255 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/2.01, allocations: 273.2 kB / 1.256 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/2.03, allocations: 5.399 MB / 1.261 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06806/2.098, allocations: 36.26 MB / 1.296 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/2.105, allocations: 2.136 MB / 1.298 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/2.105, allocations: 21.25 kB / 1.298 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/2.105, allocations: 51.88 kB / 1.298 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 4.549e-06/2.105, allocations: 0 / 1.298 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of matching and sorting (n=160): time 0.02603/2.131, allocations: 7.532 MB / 1.306 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/2.132, allocations: 68.72 kB / 1.306 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/2.136, allocations: 1.556 MB / 1.307 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005077/2.136, allocations: 53.7 kB / 1.307 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/2.139, allocations: 2.1 MB / 1.309 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/2.14, allocations: 0.5585 MB / 1.31 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/2.14, allocations: 44 kB / 1.31 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003095/2.14, allocations: 394.1 kB / 1.31 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/2.144, allocations: 1.007 MB / 1.311 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/2.148, allocations: 1.736 MB / 1.313 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/2.151, allocations: 1.302 MB / 1.314 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/2.151, allocations: 4 kB / 1.314 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01256/2.164, allocations: 3.804 MB / 1.318 GB, free: 15.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/2.164, allocations: 16 kB / 1.318 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/2.164, allocations: 24.09 kB / 1.318 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/2.169, allocations: 0.9116 MB / 1.319 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/2.172, allocations: 419.2 kB / 1.319 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/2.205, allocations: 21.41 MB / 1.34 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/2.209, allocations: 119.9 kB / 1.34 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005783/2.209, allocations: 99.98 kB / 1.34 GB, free: 7.25 MB / 0.8386 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 () * Number of clocked 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.005219/2.215, allocations: 1.641 MB / 1.342 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009567/2.216, allocations: 253.1 kB / 1.342 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/2.227, allocations: 3.256 MB / 1.346 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/2.227, allocations: 16 kB / 1.346 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/2.227, allocations: 8 kB / 1.346 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.655e-05/2.227, allocations: 15.91 kB / 1.346 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/2.252, allocations: 7.51 MB / 1.353 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/2.252, allocations: 8 kB / 1.353 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/2.254, allocations: 211.7 kB / 1.353 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004407/2.259, allocations: 0.8807 MB / 1.354 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/2.259, allocations: 28 kB / 1.354 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03308/2.292, allocations: 21.37 MB / 1.375 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/2.293, allocations: 7.938 kB / 1.375 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/2.303, allocations: 3.694 MB / 1.378 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/2.306, allocations: 0.5253 MB / 1.379 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000964/2.307, allocations: 39.98 kB / 1.379 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/2.31, allocations: 91.89 kB / 1.379 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007636/2.31, allocations: 141 kB / 1.379 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/2.311, allocations: 52 kB / 1.379 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003164/2.314, allocations: 1.178 MB / 1.38 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/2.314, allocations: 0 / 1.38 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006067/2.32, allocations: 0.9374 MB / 1.381 GB, free: 11.27 MB / 0.8855 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 () * Number of clocked 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.01215/2.332, allocations: 5.423 MB / 1.387 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01181/2.344, allocations: 4.331 MB / 1.391 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/2.344, allocations: 0 / 1.391 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.6517/2.996, allocations: 2.996 MB / 1.394 GB, free: 227 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/3.002, allocations: 0.7142 MB / 1.395 GB, free: 227 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06733/3.069, allocations: 37.37 MB / 1.431 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009017/3.078, allocations: 3.286 MB / 1.434 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003749/3.082, allocations: 0.5183 MB / 1.435 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004187/3.086, allocations: 1.678 MB / 1.436 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.983e-06/3.087, allocations: 0 / 1.436 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/3.297, allocations: 67.86 MB / 1.503 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/3.297, allocations: 223.2 kB / 1.503 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.836/8.133, allocations: 0 / 1.503 GB, free: 199.3 MB / 0.8855 GB