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.794/1.794, allocations: 288.3 MB / 303.2 MB, free: 8.297 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.001251/0.001251, allocations: 186.9 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.0008373/0.0008373, allocations: 98.8 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006511/0.0006513, allocations: 12.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2235, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009291/0.2328, allocations: 10.42 MB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006389/0.2393, allocations: 5.155 MB / 0.9946 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.2403, allocations: 31.88 kB / 0.9947 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.2413, allocations: 326.2 kB / 0.995 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2426, allocations: 0.5568 MB / 0.9955 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.2442, allocations: 0.5886 MB / 0.9961 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2457, allocations: 1.197 MB / 0.9973 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004483/0.2502, allocations: 3.865 MB / 1.001 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.2513, allocations: 0.6386 MB / 1.002 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.2521, allocations: 0.7397 MB / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.2523, allocations: 104 kB / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/0.2531, allocations: 319.7 kB / 1.003 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.2536, allocations: 0.686 MB / 1.003 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.2539, allocations: 360.9 kB / 1.004 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.2563, allocations: 3.246 MB / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2563, allocations: 0 / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2563, allocations: 0 / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.2564, allocations: 0 / 1.007 GB, free: 15.34 MB / 0.6355 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.003813/0.2602, allocations: 1.773 MB / 1.009 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2602, allocations: 12.02 kB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.2635, allocations: 0.7665 MB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.2662, allocations: 1.231 MB / 1.011 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2664, allocations: 119.2 kB / 1.011 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.2668, allocations: 156 kB / 1.011 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/0.2718, allocations: 2.94 MB / 1.014 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.2719, allocations: 7.938 kB / 1.014 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.2721, allocations: 67.98 kB / 1.014 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004174/0.2725, allocations: 199 kB / 1.014 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.2765, allocations: 2.511 MB / 1.017 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.2897, allocations: 10.88 MB / 1.027 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.291, allocations: 0.9214 MB / 1.028 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.2911, allocations: 97.45 kB / 1.028 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2912, allocations: 42.94 kB / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.404e-06/0.2912, allocations: 0 / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02779/0.319, allocations: 8.965 MB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3191, allocations: 85.67 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3205, allocations: 0.9415 MB / 1.038 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.3207, allocations: 41.7 kB / 1.038 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/0.3213, allocations: 0.7697 MB / 1.039 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.3215, allocations: 240.6 kB / 1.039 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.3216, allocations: 20 kB / 1.039 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.3219, allocations: 402.7 kB / 1.039 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3232, allocations: 0.7989 MB / 1.04 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3247, allocations: 1.156 MB / 1.041 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3262, allocations: 0.9907 MB / 1.042 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3262, allocations: 4 kB / 1.042 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009604/0.3358, allocations: 3.787 MB / 1.046 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.3376, allocations: 4.273 MB / 1.05 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.3376, allocations: 8 kB / 1.05 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008577/0.3462, allocations: 2.165 MB / 1.052 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.3472, allocations: 223.6 kB / 1.052 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.3639, allocations: 10.68 MB / 1.063 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3655, allocations: 203.6 kB / 1.063 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/0.3656, allocations: 43.98 kB / 1.063 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3656, allocations: 4 kB / 1.063 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007669/0.3733, allocations: 3.072 MB / 1.066 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.3734, allocations: 12.38 kB / 1.066 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.404/0.7773, allocations: 1.36 MB / 1.067 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.7787, allocations: 290.6 kB / 1.068 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.7901, allocations: 6.38 MB / 1.074 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.7916, allocations: 169.1 kB / 1.074 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7918, allocations: 46.75 kB / 1.074 GB, free: 80.67 MB / 0.6823 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.001681/0.7935, allocations: 0.9032 MB / 1.075 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.7937, allocations: 86.31 kB / 1.075 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009899/0.8036, allocations: 3.321 MB / 1.078 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.8036, allocations: 7 kB / 1.078 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.8037, allocations: 7.25 kB / 1.078 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.8037, allocations: 7.969 kB / 1.078 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.8169, allocations: 5.479 MB / 1.084 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8169, allocations: 8.422 kB / 1.084 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.8174, allocations: 106.2 kB / 1.084 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007628/0.825, allocations: 1.974 MB / 1.086 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.8251, allocations: 19.53 kB / 1.086 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.8388, allocations: 10.06 MB / 1.096 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.8388, allocations: 6.469 kB / 1.096 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008174/0.847, allocations: 3.306 MB / 1.099 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.8478, allocations: 326.5 kB / 1.099 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.8479, allocations: 19.86 kB / 1.099 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008684/0.8488, allocations: 150.6 kB / 1.099 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.8491, allocations: 64.03 kB / 1.099 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.8492, allocations: 19.72 kB / 1.099 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009497/0.8501, allocations: 0.6705 MB / 1.1 GB, free: 69.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8501, allocations: 1.859 kB / 1.1 GB, free: 69.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002303/0.8524, allocations: 0.6773 MB / 1.101 GB, free: 69.78 MB / 0.6823 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.0002831/0.8527, allocations: 137.3 kB / 1.101 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007598/0.8603, allocations: 3.912 MB / 1.105 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.8604, allocations: 1.125 kB / 1.105 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.8624, allocations: 1.311 MB / 1.106 GB, free: 66.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8636, allocations: 235 kB / 1.106 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.8689, allocations: 4.076 MB / 1.11 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.8703, allocations: 1.753 MB / 1.112 GB, free: 62.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001326/0.8716, allocations: 0.5153 MB / 1.112 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.8718, allocations: 55 kB / 1.112 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.8718, allocations: 0 / 1.112 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.03774/0.9096, allocations: 29.4 MB / 1.141 GB, free: 38.86 MB / 0.6823 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)