Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.551/2.551, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001421/0.001421, allocations: 175.5 kB / 326.2 MB, free: 2.855 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.349/2.349, allocations: 205.4 MB / 0.5772 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.0008949/0.0008949, allocations: 83.66 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004843, allocations: 11.56 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.231, allocations: 186.2 MB / 1.081 GB, free: 54.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005151/1.232, allocations: 102.3 kB / 1.081 GB, free: 54.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2528/1.484, allocations: 66.74 MB / 1.147 GB, free: 35.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.577e-06/1.484, allocations: 0 / 1.147 GB, free: 35.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001914/1.485, allocations: 38.94 kB / 1.147 GB, free: 35.56 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.00761/1.492, allocations: 1.787 MB / 1.148 GB, free: 34.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.492, allocations: 11.53 kB / 1.148 GB, free: 34.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/1.498, allocations: 0.6564 MB / 1.149 GB, free: 34.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/1.502, allocations: 1.248 MB / 1.15 GB, free: 33.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.502, allocations: 118.1 kB / 1.15 GB, free: 33.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009397/1.503, allocations: 162.9 kB / 1.15 GB, free: 33.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007862/1.511, allocations: 2.664 MB / 1.153 GB, free: 32.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.814e-05/1.511, allocations: 3.906 kB / 1.153 GB, free: 32.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/1.512, allocations: 65.88 kB / 1.153 GB, free: 32.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/1.512, allocations: 88.17 kB / 1.153 GB, free: 32.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006849/1.519, allocations: 2.221 MB / 1.155 GB, free: 32.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/1.538, allocations: 10.9 MB / 1.166 GB, free: 25.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/1.54, allocations: 0.7543 MB / 1.167 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.542, allocations: 0.5477 MB / 1.167 GB, free: 25.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.542, allocations: 85.23 kB / 1.167 GB, free: 24.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.542, allocations: 38.12 kB / 1.167 GB, free: 24.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.707e-06/1.542, allocations: 0 / 1.167 GB, free: 24.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.05068/1.593, allocations: 9.069 MB / 1.176 GB, free: 21.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.593, allocations: 85.52 kB / 1.176 GB, free: 21.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.595, allocations: 0.9466 MB / 1.177 GB, free: 20.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/1.595, allocations: 38.77 kB / 1.177 GB, free: 20.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/1.596, allocations: 0.7673 MB / 1.178 GB, free: 20.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/1.596, allocations: 255.3 kB / 1.178 GB, free: 20.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.596, allocations: 24.31 kB / 1.178 GB, free: 20.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.596, allocations: 407.8 kB / 1.179 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.599, allocations: 0.8035 MB / 1.18 GB, free: 19.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/1.601, allocations: 1.17 MB / 1.181 GB, free: 19.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/1.603, allocations: 0.9977 MB / 1.182 GB, free: 18.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.603, allocations: 3.906 kB / 1.182 GB, free: 18.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01758/1.621, allocations: 3.828 MB / 1.185 GB, free: 17.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002712/1.621, allocations: 409.4 kB / 1.186 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.621, allocations: 15.94 kB / 1.186 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/1.637, allocations: 2.18 MB / 1.188 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.639, allocations: 228.6 kB / 1.188 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02953/1.668, allocations: 11.44 MB / 1.199 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/1.671, allocations: 199.7 kB / 1.2 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.671, allocations: 47.94 kB / 1.2 GB, free: 3.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.671, allocations: 7.984 kB / 1.2 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01325/1.684, allocations: 3.103 MB / 1.203 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/1.684, allocations: 16.06 kB / 1.203 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.695, allocations: 1.361 MB / 1.204 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.697, allocations: 303.5 kB / 1.204 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.717, allocations: 6.585 MB / 1.211 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.72, allocations: 175.7 kB / 1.211 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.72, allocations: 44 kB / 1.211 GB, free: 7.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.002662/1.723, allocations: 0.904 MB / 1.212 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/1.723, allocations: 90.91 kB / 1.212 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/1.74, allocations: 3.363 MB / 1.215 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.741, allocations: 4 kB / 1.215 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.741, allocations: 4 kB / 1.215 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/1.741, allocations: 7.922 kB / 1.215 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.765, allocations: 5.939 MB / 1.221 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.765, allocations: 4 kB / 1.221 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/1.766, allocations: 107.8 kB / 1.221 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.78, allocations: 1.97 MB / 1.223 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/1.78, allocations: 16 kB / 1.223 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/1.807, allocations: 9.827 MB / 1.233 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/1.807, allocations: 11.98 kB / 1.233 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.823, allocations: 3.225 MB / 1.236 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.824, allocations: 331.9 kB / 1.236 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.825, allocations: 16 kB / 1.236 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.826, allocations: 147.8 kB / 1.236 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.827, allocations: 72.34 kB / 1.236 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.827, allocations: 24 kB / 1.236 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001539/1.828, allocations: 0.6746 MB / 1.237 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.828, allocations: 0 / 1.237 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00376/1.832, allocations: 0.7265 MB / 1.238 GB, free: 11.82 MB / 0.7448 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/1.833, allocations: 174.8 kB / 1.238 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.848, allocations: 4.122 MB / 1.242 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.848, allocations: 0 / 1.242 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.854, allocations: 1.481 MB / 1.243 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.857, allocations: 260.6 kB / 1.244 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.867, allocations: 4.058 MB / 1.248 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.869, allocations: 1.734 MB / 1.249 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002563/1.872, allocations: 0.5265 MB / 1.25 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/1.872, allocations: 63.38 kB / 1.25 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of SimCode: time 1.473e-06/1.872, allocations: 0 / 1.25 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.07977/1.952, allocations: 29.83 MB / 1.279 GB, free: 1.582 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)