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.ACLine_R_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.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.3 MB / 303.2 MB, free: 8.266 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.001147/0.001147, allocations: 185 kB / 371.8 MB, free: 10.28 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.853/1.853, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009531/0.0009532, allocations: 102.8 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 12.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2654, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02873/0.2941, allocations: 33.01 MB / 1.012 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.3142, allocations: 10.74 MB / 1.022 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/0.3188, allocations: 123.2 kB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.3225, allocations: 0.757 MB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.3303, allocations: 1.71 MB / 1.025 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.3355, allocations: 1.296 MB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.3456, allocations: 4.447 MB / 1.03 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02645/0.3721, allocations: 12.63 MB / 1.043 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006502/0.3787, allocations: 2.499 MB / 1.045 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/0.3849, allocations: 2.651 MB / 1.048 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.3872, allocations: 344 kB / 1.048 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.391, allocations: 0.5855 MB / 1.049 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004758/0.3957, allocations: 2.315 MB / 1.051 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003549/0.3993, allocations: 1.194 MB / 1.052 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.4125, allocations: 10.03 MB / 1.062 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4125, allocations: 0 / 1.062 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.547e-06/0.4125, allocations: 0 / 1.062 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005742/0.4131, allocations: 0 / 1.062 GB, free: 7.109 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01545/0.4286, allocations: 5.102 MB / 1.067 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4287, allocations: 16 kB / 1.067 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/0.4347, allocations: 1.016 MB / 1.068 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4564/0.8911, allocations: 3.342 MB / 1.071 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.8914, allocations: 427.8 kB / 1.071 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.8932, allocations: 0.5407 MB / 1.072 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/0.9181, allocations: 9.282 MB / 1.081 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.9183, allocations: 17.31 kB / 1.081 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008228/0.9192, allocations: 246.1 kB / 1.081 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009135/0.9201, allocations: 425.8 kB / 1.082 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.9366, allocations: 7.082 MB / 1.089 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04232/0.979, allocations: 41.38 MB / 1.129 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004709/0.9837, allocations: 3.09 MB / 1.132 GB, free: 33.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.9839, allocations: 30.84 kB / 1.132 GB, free: 33.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.984, allocations: 59.25 kB / 1.132 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 5.55e-06/0.984, allocations: 0 / 1.132 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.02378/1.008, allocations: 10.45 MB / 1.142 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.008, allocations: 72.97 kB / 1.142 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/1.01, allocations: 1.98 MB / 1.144 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/1.011, allocations: 63.89 kB / 1.144 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.012, allocations: 2.4 MB / 1.147 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/1.012, allocations: 0.7393 MB / 1.147 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.012, allocations: 50.56 kB / 1.147 GB, free: 23.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.012, allocations: 415.8 kB / 1.148 GB, free: 23.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/1.014, allocations: 1.363 MB / 1.149 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.016, allocations: 2.084 MB / 1.151 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/1.018, allocations: 1.72 MB / 1.153 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.018, allocations: 12 kB / 1.153 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007086/1.025, allocations: 5.031 MB / 1.158 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.025, allocations: 20 kB / 1.158 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.025, allocations: 27.98 kB / 1.158 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/1.028, allocations: 1.562 MB / 1.159 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.03, allocations: 455.2 kB / 1.16 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/1.049, allocations: 17.71 MB / 1.177 GB, free: 9.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.052, allocations: 147.9 kB / 1.177 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.052, allocations: 104 kB / 1.177 GB, free: 8.859 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0039/1.056, allocations: 1.942 MB / 1.179 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/1.057, allocations: 292.6 kB / 1.18 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007487/1.064, allocations: 4.436 MB / 1.184 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.064, allocations: 20 kB / 1.184 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/1.064, allocations: 20 kB / 1.184 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.064, allocations: 11.95 kB / 1.184 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.082, allocations: 9.639 MB / 1.193 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.082, allocations: 12.12 kB / 1.193 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/1.083, allocations: 227.7 kB / 1.194 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/1.087, allocations: 1.43 MB / 1.195 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.087, allocations: 39.38 kB / 1.195 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/1.108, allocations: 17.73 MB / 1.212 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.108, allocations: 7.938 kB / 1.212 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007466/1.116, allocations: 4.871 MB / 1.217 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.118, allocations: 0.6343 MB / 1.218 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/1.118, allocations: 40 kB / 1.218 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.12, allocations: 115.9 kB / 1.218 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004608/1.12, allocations: 181.6 kB / 1.218 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.12, allocations: 56 kB / 1.218 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001847/1.122, allocations: 1.299 MB / 1.219 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/1.122, allocations: 0 / 1.219 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003741/1.126, allocations: 1.137 MB / 1.22 GB, free: 11.82 MB / 0.7448 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 (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/1.126, allocations: 167 kB / 1.221 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007394/1.134, allocations: 4.678 MB / 1.225 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.134, allocations: 0 / 1.225 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/1.138, allocations: 2.923 MB / 1.228 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.142, allocations: 0.7994 MB / 1.229 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.159, allocations: 11.22 MB / 1.24 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/1.163, allocations: 3.787 MB / 1.244 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002194/1.165, allocations: 0.5557 MB / 1.244 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/1.165, allocations: 151.4 kB / 1.244 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/1.165, allocations: 0 / 1.244 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of Templates: time 0.08683/1.252, allocations: 48.77 MB / 1.292 GB, free: 3.148 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)