Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 252 MB / 267.9 MB, free: 10.91 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.001142/0.001142, allocations: 180.7 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007278/0.0007278, allocations: 94.34 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 13.38 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6267/0.8142, allocations: 185.5 MB / 1.082 GB, free: 52.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.8144, allocations: 101.3 kB / 1.082 GB, free: 52.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1266/0.941, allocations: 64.12 MB / 1.145 GB, free: 34.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9411, allocations: 0 / 1.145 GB, free: 34.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001108/0.9412, allocations: 46.47 kB / 1.145 GB, free: 34.27 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003669/0.9449, allocations: 1.637 MB / 1.147 GB, free: 33.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.9449, allocations: 11.47 kB / 1.147 GB, free: 33.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.9475, allocations: 0.4896 MB / 1.147 GB, free: 33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.9495, allocations: 1.158 MB / 1.148 GB, free: 32.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.9495, allocations: 120 kB / 1.148 GB, free: 32.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.9499, allocations: 150.3 kB / 1.149 GB, free: 32.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.9535, allocations: 2.498 MB / 1.151 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.9536, allocations: 3.938 kB / 1.151 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.9538, allocations: 68.34 kB / 1.151 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.617e-05/0.9538, allocations: 84.75 kB / 1.151 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.9566, allocations: 2.042 MB / 1.153 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009308/0.9659, allocations: 10.51 MB / 1.163 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.9667, allocations: 0.5754 MB / 1.164 GB, free: 24.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.9672, allocations: 402.3 kB / 1.164 GB, free: 24.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.9673, allocations: 92.78 kB / 1.165 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.9673, allocations: 37.81 kB / 1.165 GB, free: 23.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.534e-06/0.9673, allocations: 3.812 kB / 1.165 GB, free: 23.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.01703/0.9843, allocations: 6.249 MB / 1.171 GB, free: 21.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.9844, allocations: 84.83 kB / 1.171 GB, free: 21.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.9856, allocations: 0.893 MB / 1.172 GB, free: 21.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.9857, allocations: 32.83 kB / 1.172 GB, free: 21.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.986, allocations: 0.7569 MB / 1.172 GB, free: 20.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.9862, allocations: 184.7 kB / 1.173 GB, free: 20.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.9862, allocations: 18.03 kB / 1.173 GB, free: 20.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9863, allocations: 386.8 kB / 1.173 GB, free: 20.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/0.9871, allocations: 0.6375 MB / 1.174 GB, free: 19.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009204/0.988, allocations: 1.003 MB / 1.175 GB, free: 19.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.9898, allocations: 1.658 MB / 1.176 GB, free: 18.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9898, allocations: 3.875 kB / 1.176 GB, free: 18.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007658/0.9975, allocations: 3.201 MB / 1.179 GB, free: 17.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.9977, allocations: 433 kB / 1.18 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9977, allocations: 11.75 kB / 1.18 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006795/1.005, allocations: 1.857 MB / 1.182 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.005, allocations: 226.3 kB / 1.182 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.016, allocations: 10.17 MB / 1.192 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.018, allocations: 177.8 kB / 1.192 GB, free: 9.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/1.018, allocations: 44.98 kB / 1.192 GB, free: 9.176 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/1.018, allocations: 10.72 kB / 1.192 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005905/1.024, allocations: 2.608 MB / 1.194 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/1.024, allocations: 12 kB / 1.194 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/1.028, allocations: 1.195 MB / 1.196 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/1.029, allocations: 262.3 kB / 1.196 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/1.035, allocations: 5.725 MB / 1.201 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.037, allocations: 155.7 kB / 1.202 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/1.037, allocations: 47.98 kB / 1.202 GB, free: 15.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001348/1.038, allocations: 0.8323 MB / 1.202 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.038, allocations: 79 kB / 1.203 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/1.046, allocations: 2.676 MB / 1.205 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.046, allocations: 8 kB / 1.205 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.046, allocations: 0 / 1.205 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/1.046, allocations: 7.984 kB / 1.205 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.056, allocations: 4.607 MB / 1.21 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.056, allocations: 4 kB / 1.21 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/1.056, allocations: 112 kB / 1.21 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006449/1.063, allocations: 1.7 MB / 1.211 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.063, allocations: 8 kB / 1.211 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.075, allocations: 9.722 MB / 1.221 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.075, allocations: 4 kB / 1.221 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/1.082, allocations: 2.644 MB / 1.224 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/1.082, allocations: 280.3 kB / 1.224 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.083, allocations: 12 kB / 1.224 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/1.083, allocations: 131.8 kB / 1.224 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.084, allocations: 47.86 kB / 1.224 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/1.084, allocations: 24 kB / 1.224 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009596/1.085, allocations: 0.6356 MB / 1.225 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.034e-06/1.085, allocations: 0 / 1.225 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002121/1.087, allocations: 0.6288 MB / 1.225 GB, free: 6.969 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/1.087, allocations: 171.4 kB / 1.225 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005975/1.093, allocations: 3.378 MB / 1.229 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.093, allocations: 2 kB / 1.229 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.095, allocations: 1.268 MB / 1.23 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.096, allocations: 217.8 kB / 1.23 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/1.101, allocations: 3.555 MB / 1.234 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.103, allocations: 1.614 MB / 1.235 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001287/1.104, allocations: 498.1 kB / 1.236 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.104, allocations: 55.44 kB / 1.236 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/1.104, allocations: 0 / 1.236 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.03352/1.138, allocations: 23.8 MB / 1.259 GB, free: 4.344 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)