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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.472/2.472, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001536/0.001536, allocations: 180.6 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.024/2.024, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001098/0.001098, allocations: 107.4 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.341e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9193/1.112, allocations: 159.3 MB / 1.04 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.113, allocations: 93.92 kB / 1.04 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5192/1.632, allocations: 127.8 MB / 1.165 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.094e-06/1.632, allocations: 0 / 1.165 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003272/1.633, allocations: 83.98 kB / 1.165 GB, free: 6.887 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01196/1.644, allocations: 2.89 MB / 1.168 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.645, allocations: 8.031 kB / 1.168 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/1.655, allocations: 0.9865 MB / 1.168 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00828/1.664, allocations: 2.252 MB / 1.171 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/1.664, allocations: 103.9 kB / 1.171 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/1.665, allocations: 184 kB / 1.171 GB, free: 360 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0123/1.678, allocations: 3.637 MB / 1.175 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/1.695, allocations: 5.154 MB / 1.18 GB, free: 7.223 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/1.695, allocations: 15.88 kB / 1.18 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.696, allocations: 8 kB / 1.18 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/1.698, allocations: 322.3 kB / 1.18 GB, free: 6.883 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/1.75, allocations: 28.37 MB / 1.208 GB, free: 7.809 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/1.753, allocations: 1.412 MB / 1.209 GB, free: 6.387 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/1.756, allocations: 1.457 MB / 1.21 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/1.757, allocations: 25.28 kB / 1.21 GB, free: 4.902 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/1.757, allocations: 43.88 kB / 1.21 GB, free: 4.852 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 4.979e-06/1.757, allocations: 4 kB / 1.21 GB, free: 4.848 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.06737/1.824, allocations: 13.57 MB / 1.224 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.824, allocations: 69.41 kB / 1.224 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.827, allocations: 1.035 MB / 1.225 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004763/1.827, allocations: 29.7 kB / 1.225 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/1.829, allocations: 1.523 MB / 1.226 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.83, allocations: 0.585 MB / 1.227 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/1.83, allocations: 0 / 1.227 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.83, allocations: 385.9 kB / 1.227 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.834, allocations: 1.749 MB / 1.229 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/1.839, allocations: 2.244 MB / 1.231 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/1.846, allocations: 2.281 MB / 1.233 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/1.846, allocations: 4 kB / 1.233 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02638/1.873, allocations: 7.411 MB / 1.241 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/1.873, allocations: 21.89 kB / 1.241 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/1.873, allocations: 12 kB / 1.241 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02271/1.896, allocations: 4.048 MB / 1.245 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.898, allocations: 295.5 kB / 1.245 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6744/2.572, allocations: 19.7 MB / 1.264 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/2.576, allocations: 104.1 kB / 1.264 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008445/2.576, allocations: 176.5 kB / 1.264 GB, free: 238.2 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007791/2.577, allocations: 149.1 kB / 1.265 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02642/2.604, allocations: 7.049 MB / 1.271 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/2.605, allocations: 187 kB / 1.272 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02742/2.632, allocations: 7.404 MB / 1.279 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/2.632, allocations: 16.94 kB / 1.279 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.064e-05/2.632, allocations: 18.06 kB / 1.279 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/2.632, allocations: 12.25 kB / 1.279 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/2.668, allocations: 11.39 MB / 1.29 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/2.668, allocations: 6.312 kB / 1.29 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/2.669, allocations: 163.5 kB / 1.29 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02176/2.691, allocations: 3.991 MB / 1.294 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004994/2.692, allocations: 52.52 kB / 1.294 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04358/2.735, allocations: 19.3 MB / 1.313 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/2.735, allocations: 14.11 kB / 1.313 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/2.758, allocations: 7.656 MB / 1.32 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/2.761, allocations: 0.6951 MB / 1.321 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/2.761, allocations: 10.67 kB / 1.321 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/2.764, allocations: 104.7 kB / 1.321 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008901/2.765, allocations: 184 kB / 1.321 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004102/2.766, allocations: 151.5 kB / 1.322 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001586/2.767, allocations: 0.7849 MB / 1.322 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.52e-07/2.767, allocations: 0 / 1.322 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004649/2.772, allocations: 0.8348 MB / 1.323 GB, free: 229.4 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.02778/2.8, allocations: 10.91 MB / 1.334 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.816, allocations: 5.676 MB / 1.339 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.816, allocations: 0 / 1.339 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/2.829, allocations: 3.55 MB / 1.343 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/2.832, allocations: 418.4 kB / 1.343 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/2.849, allocations: 6.508 MB / 1.35 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/2.854, allocations: 2.742 MB / 1.352 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001805/2.856, allocations: 369.9 kB / 1.353 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/2.858, allocations: 1.221 MB / 1.354 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.123e-06/2.858, allocations: 0 / 1.354 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1735/3.031, allocations: 71.62 MB / 1.424 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/3.032, allocations: 181.2 kB / 1.424 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.42/7.452, allocations: 3.281 kB / 1.424 GB, free: 173.1 MB / 0.8698 GB