Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.3 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 173 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6306 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 102.8 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 11.28 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 115.3 MB / 0.9794 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8775/1.169, allocations: 192.6 MB / 1.168 GB, free: 6.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/1.17, allocations: 98.25 kB / 1.168 GB, free: 5.988 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1736/1.343, allocations: 66.67 MB / 1.233 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.867e-06/1.343, allocations: 0 / 1.233 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002317/1.344, allocations: 43.92 kB / 1.233 GB, free: 13.45 MB / 0.7605 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.007091/1.351, allocations: 1.786 MB / 1.235 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/1.351, allocations: 16.02 kB / 1.235 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/1.355, allocations: 0.6641 MB / 1.235 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/1.36, allocations: 1.239 MB / 1.236 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/1.36, allocations: 120.1 kB / 1.237 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009168/1.361, allocations: 162 kB / 1.237 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/1.369, allocations: 2.65 MB / 1.239 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.369, allocations: 0 / 1.239 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006108/1.37, allocations: 68.73 kB / 1.239 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/1.37, allocations: 91.22 kB / 1.239 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/1.375, allocations: 2.218 MB / 1.242 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/1.393, allocations: 10.89 MB / 1.252 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.395, allocations: 0.7611 MB / 1.253 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/1.395, allocations: 97.47 kB / 1.253 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/1.395, allocations: 38.89 kB / 1.253 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 3.367e-06/1.395, allocations: 0 / 1.253 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.02645/1.421, allocations: 8.396 MB / 1.261 GB, free: 492 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.422, allocations: 85.67 kB / 1.261 GB, free: 384 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.424, allocations: 0.8548 MB / 1.262 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.424, allocations: 41.7 kB / 1.262 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007802/1.424, allocations: 0.7775 MB / 1.263 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/1.425, allocations: 240.5 kB / 1.263 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.425, allocations: 20 kB / 1.263 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002859/1.425, allocations: 402.7 kB / 1.264 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.427, allocations: 0.8028 MB / 1.264 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.428, allocations: 1.16 MB / 1.266 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.43, allocations: 0.9947 MB / 1.267 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/1.43, allocations: 7.953 kB / 1.267 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008931/1.439, allocations: 3.507 MB / 1.27 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002236/1.441, allocations: 4.278 MB / 1.274 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/1.441, allocations: 16 kB / 1.274 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007414/1.449, allocations: 1.861 MB / 1.276 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.45, allocations: 223.6 kB / 1.276 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.462, allocations: 7.039 MB / 1.283 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.464, allocations: 191.5 kB / 1.283 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/1.464, allocations: 47.95 kB / 1.283 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.464, allocations: 4 kB / 1.283 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007514/1.472, allocations: 2.861 MB / 1.286 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/1.472, allocations: 12 kB / 1.286 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/1.477, allocations: 1.148 MB / 1.287 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.478, allocations: 299.5 kB / 1.288 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009264/1.487, allocations: 5.839 MB / 1.293 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.489, allocations: 163.8 kB / 1.293 GB, free: 14.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.489, allocations: 44 kB / 1.293 GB, free: 14.72 MB / 0.823 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002128/1.492, allocations: 0.8986 MB / 1.294 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/1.492, allocations: 90.97 kB / 1.294 GB, free: 13.72 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008408/1.5, allocations: 3.109 MB / 1.297 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.5, allocations: 4 kB / 1.297 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.5, allocations: 4 kB / 1.297 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.5, allocations: 3.984 kB / 1.297 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.513, allocations: 5.176 MB / 1.302 GB, free: 5.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.513, allocations: 4 kB / 1.302 GB, free: 5.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/1.514, allocations: 112.1 kB / 1.303 GB, free: 5.199 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006903/1.521, allocations: 1.784 MB / 1.304 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.521, allocations: 12 kB / 1.304 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.536, allocations: 9.981 MB / 1.314 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.536, allocations: 0 / 1.314 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/1.545, allocations: 3.106 MB / 1.317 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.546, allocations: 331.9 kB / 1.317 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/1.547, allocations: 20 kB / 1.317 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.548, allocations: 147.9 kB / 1.318 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/1.549, allocations: 60.42 kB / 1.318 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.549, allocations: 27.97 kB / 1.318 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001605/1.551, allocations: 0.6668 MB / 1.318 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.551, allocations: 4 kB / 1.318 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003639/1.554, allocations: 0.7031 MB / 1.319 GB, free: 3.98 MB / 0.8386 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): 40 * 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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005179/1.555, allocations: 171 kB / 1.319 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007368/1.562, allocations: 3.598 MB / 1.323 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.562, allocations: 8 kB / 1.323 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.565, allocations: 1.348 MB / 1.324 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.566, allocations: 245 kB / 1.324 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/1.574, allocations: 4.066 MB / 1.328 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/1.577, allocations: 1.75 MB / 1.33 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002056/1.579, allocations: 0.5186 MB / 1.33 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/1.58, allocations: 55.42 kB / 1.331 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of SimCode: time 1.973e-06/1.58, allocations: 3.938 kB / 1.331 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of Templates: time 0.05188/1.632, allocations: 27.81 MB / 1.358 GB, free: 12.43 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)