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.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01272/0.01272, allocations: 106.2 kB / 15.74 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222.6 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.698/1.698, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2897, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04215/0.3319, allocations: 34.7 MB / 0.8619 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.3553, allocations: 11.63 MB / 0.8733 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.3601, allocations: 163.2 kB / 0.8735 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.373, allocations: 4.242 MB / 0.8776 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.3845, allocations: 2.092 MB / 0.8796 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.3957, allocations: 2.401 MB / 0.882 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01566/0.4114, allocations: 8.475 MB / 0.8903 GB, free: 316 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.4293, allocations: 11.12 MB / 0.9011 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009214/0.4386, allocations: 3.802 MB / 0.9048 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8674/1.306, allocations: 4.176 MB / 0.9089 GB, free: 24.92 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0076/1.314, allocations: 0.7802 MB / 0.9097 GB, free: 24.92 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.327, allocations: 2.028 MB / 0.9117 GB, free: 24.92 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01412/1.341, allocations: 3.052 MB / 0.9146 GB, free: 24.92 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01929/1.361, allocations: 3.4 MB / 0.918 GB, free: 24.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.03348/1.394, allocations: 11.98 MB / 0.9297 GB, free: 23.38 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/1.394, allocations: 0 / 0.9297 GB, free: 23.38 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.146e-06/1.394, allocations: 0 / 0.9297 GB, free: 23.38 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006933/1.395, allocations: 1.156 kB / 0.9297 GB, free: 23.38 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.03553/1.431, allocations: 5.797 MB / 0.9353 GB, free: 21.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/1.431, allocations: 12.84 kB / 0.9353 GB, free: 21.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.443, allocations: 1.065 MB / 0.9364 GB, free: 21 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/1.46, allocations: 3.449 MB / 0.9398 GB, free: 20.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/1.462, allocations: 416.1 kB / 0.9402 GB, free: 20.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005399/1.467, allocations: 0.5381 MB / 0.9407 GB, free: 20.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04034/1.507, allocations: 9.069 MB / 0.9495 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005534/1.508, allocations: 40.64 kB / 0.9496 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0041/1.512, allocations: 240.1 kB / 0.9498 GB, free: 16.31 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006066/1.513, allocations: 346.2 kB / 0.9501 GB, free: 16.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/1.535, allocations: 6.825 MB / 0.9568 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06637/1.602, allocations: 39.8 MB / 0.9957 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/1.607, allocations: 3.103 MB / 0.9987 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.61, allocations: 1.971 MB / 1.001 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.61, allocations: 27.17 kB / 1.001 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/1.61, allocations: 49.97 kB / 1.001 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.869e-06/1.61, allocations: 3.938 kB / 1.001 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02842/1.639, allocations: 9.98 MB / 1.01 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.639, allocations: 73.41 kB / 1.011 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/1.642, allocations: 1.525 MB / 1.012 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000458/1.643, allocations: 61.7 kB / 1.012 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.645, allocations: 2.251 MB / 1.014 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/1.646, allocations: 0.6354 MB / 1.015 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/1.648, allocations: 407.9 kB / 1.015 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.648, allocations: 305.1 kB / 1.016 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/1.65, allocations: 1.176 MB / 1.017 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.654, allocations: 1.887 MB / 1.019 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005646/1.66, allocations: 3.372 MB / 1.022 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/1.66, allocations: 8 kB / 1.022 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009709/1.669, allocations: 4.572 MB / 1.026 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/1.669, allocations: 16 kB / 1.026 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.922e-05/1.669, allocations: 23.83 kB / 1.026 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/1.674, allocations: 1.593 MB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.676, allocations: 349.8 kB / 1.028 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02957/1.705, allocations: 18.58 MB / 1.046 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.709, allocations: 119.9 kB / 1.047 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008526/1.709, allocations: 95.98 kB / 1.047 GB, free: 5.57 MB / 0.795 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007066/1.717, allocations: 1.892 MB / 1.048 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008627/1.717, allocations: 225.3 kB / 1.049 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/1.725, allocations: 4.1 MB / 1.053 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.725, allocations: 16 kB / 1.053 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-05/1.725, allocations: 20 kB / 1.053 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.726, allocations: 7.969 kB / 1.053 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.747, allocations: 9.464 MB / 1.062 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.747, allocations: 4.562 kB / 1.062 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/1.748, allocations: 182.5 kB / 1.062 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/1.752, allocations: 1.361 MB / 1.063 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.752, allocations: 36 kB / 1.063 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.774, allocations: 17.35 MB / 1.08 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.774, allocations: 7.469 kB / 1.08 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008113/1.782, allocations: 4.064 MB / 1.084 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.783, allocations: 0.5291 MB / 1.085 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/1.784, allocations: 36 kB / 1.085 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.786, allocations: 87.89 kB / 1.085 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000667/1.787, allocations: 161.6 kB / 1.085 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.787, allocations: 48 kB / 1.085 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002096/1.789, allocations: 1.005 MB / 1.086 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/1.789, allocations: 3.656 kB / 1.086 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006657/1.796, allocations: 0.9883 MB / 1.087 GB, free: 11.34 MB / 0.8419 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006213/1.796, allocations: 146.2 kB / 1.087 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008271/1.805, allocations: 4.305 MB / 1.092 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.805, allocations: 1 kB / 1.092 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00479/1.809, allocations: 2.658 MB / 1.094 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/1.815, allocations: 0.7939 MB / 1.095 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/1.839, allocations: 8.595 MB / 1.103 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008441/1.848, allocations: 3.576 MB / 1.107 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001992/1.85, allocations: 467.8 kB / 1.107 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/1.85, allocations: 111.4 kB / 1.107 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of SimCode: time 1.082e-06/1.85, allocations: 4 kB / 1.107 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of Templates: time 0.09369/1.944, allocations: 44.61 MB / 1.151 GB, free: 10.64 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)