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_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.ACLine_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.392/2.392, 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.00211/0.00211, allocations: 166.6 kB / 325.5 MB, free: 2.902 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.373/2.373, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001171/0.00117, allocations: 98.92 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004895, allocations: 11.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.259, allocations: 189.9 MB / 1.084 GB, free: 54.54 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.259, allocations: 100.1 kB / 1.084 GB, free: 54.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4074/1.667, allocations: 113.7 MB / 1.195 GB, free: 8.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.436e-06/1.667, allocations: 0 / 1.195 GB, free: 8.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002856/1.667, allocations: 82.81 kB / 1.195 GB, free: 8.875 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01236/1.679, allocations: 2.898 MB / 1.198 GB, free: 6.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.679, allocations: 8.031 kB / 1.198 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002482/1.682, allocations: 470.4 kB / 1.199 GB, free: 5.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/1.689, allocations: 0.6696 MB / 1.199 GB, free: 5.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007479/1.697, allocations: 2.061 MB / 1.201 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/1.697, allocations: 225.8 kB / 1.202 GB, free: 3.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/1.699, allocations: 294.1 kB / 1.202 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/1.716, allocations: 4.613 MB / 1.206 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/1.716, allocations: 11.84 kB / 1.206 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/1.717, allocations: 135.3 kB / 1.207 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003242/1.718, allocations: 169.8 kB / 1.207 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/1.73, allocations: 3.403 MB / 1.21 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03947/1.769, allocations: 21.6 MB / 1.231 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.773, allocations: 1.28 MB / 1.232 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/1.773, allocations: 9 kB / 1.232 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.773, allocations: 43.56 kB / 1.232 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=107): time 3.988e-06/1.773, allocations: 0 / 1.232 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138): time 0.0446/1.817, allocations: 8.592 MB / 1.241 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/1.818, allocations: 68.67 kB / 1.241 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.82, allocations: 0.9674 MB / 1.242 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/1.82, allocations: 45.7 kB / 1.242 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.821, allocations: 1.31 MB / 1.243 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007985/1.822, allocations: 480.4 kB / 1.244 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.822, allocations: 32 kB / 1.244 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.823, allocations: 373.9 kB / 1.244 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.825, allocations: 0.8745 MB / 1.245 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/1.828, allocations: 1.339 MB / 1.246 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/1.831, allocations: 1.111 MB / 1.247 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.831, allocations: 4 kB / 1.247 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01065/1.841, allocations: 3.401 MB / 1.251 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/1.841, allocations: 8 kB / 1.251 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.842, allocations: 16 kB / 1.251 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/1.847, allocations: 1.143 MB / 1.252 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.849, allocations: 267.5 kB / 1.252 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/1.878, allocations: 12.96 MB / 1.265 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.88, allocations: 99.97 kB / 1.265 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/1.881, allocations: 64 kB / 1.265 GB, free: 15.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003076/1.884, allocations: 1.128 MB / 1.266 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/1.884, allocations: 158.1 kB / 1.266 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/1.894, allocations: 3.126 MB / 1.269 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.894, allocations: 12 kB / 1.269 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/1.894, allocations: 12 kB / 1.269 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.894, allocations: 7.969 kB / 1.269 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.912, allocations: 6.115 MB / 1.275 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.912, allocations: 4 kB / 1.275 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.913, allocations: 147.8 kB / 1.275 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/1.918, allocations: 1.029 MB / 1.276 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.918, allocations: 28 kB / 1.276 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02691/1.945, allocations: 12.66 MB / 1.289 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.945, allocations: 11.89 kB / 1.289 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009125/1.955, allocations: 3.33 MB / 1.292 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.956, allocations: 419.1 kB / 1.292 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.957, allocations: 28 kB / 1.292 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.958, allocations: 71.91 kB / 1.292 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/1.959, allocations: 132.7 kB / 1.293 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.959, allocations: 36 kB / 1.293 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001679/1.96, allocations: 0.7436 MB / 1.293 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.01e-07/1.96, allocations: 0 / 1.293 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003426/1.964, allocations: 0.6719 MB / 1.294 GB, free: 1.262 MB / 0.7917 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/1.974, allocations: 5.126 MB / 1.299 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008426/1.982, allocations: 3.073 MB / 1.302 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.982, allocations: 0 / 1.302 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005427/1.988, allocations: 1.94 MB / 1.304 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.991, allocations: 428.4 kB / 1.304 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/2.037, allocations: 24.56 MB / 1.328 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005968/2.043, allocations: 2.398 MB / 1.331 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002224/2.045, allocations: 346 kB / 1.331 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/2.048, allocations: 0.9952 MB / 1.332 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of SimCode: time 1.593e-06/2.048, allocations: 0 / 1.332 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/2.197, allocations: 48.36 MB / 1.379 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003769/2.197, allocations: 230.6 kB / 1.379 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/6.06, allocations: 0 / 1.379 GB, free: 9.371 MB / 0.8855 GB