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.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006972/0.006972, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001197/0.001197, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 12.26 MB / 190.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.418/1.418, allocations: 251.7 MB / 0.5094 GB, free: 440 kB / 430.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.001518/0.001518, allocations: 67.91 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8272, allocations: 104.7 MB / 0.8281 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02755/0.8548, allocations: 23.38 MB / 0.8509 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.8692, allocations: 6.531 MB / 0.8573 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/0.8729, allocations: 95.5 kB / 0.8574 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005045/0.8779, allocations: 1.492 MB / 0.8588 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006487/0.8844, allocations: 1.824 MB / 0.8606 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/0.8893, allocations: 1.462 MB / 0.862 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.9, allocations: 6.853 MB / 0.8687 GB, free: 8.832 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.9102, allocations: 6.941 MB / 0.8755 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.9166, allocations: 2.824 MB / 0.8783 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007987/0.9247, allocations: 3.47 MB / 0.8816 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.9269, allocations: 0.5273 MB / 0.8822 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.9318, allocations: 1.17 MB / 0.8833 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003932/0.9357, allocations: 2.456 MB / 0.8857 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006231/0.942, allocations: 2.528 MB / 0.8882 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.9568, allocations: 8.513 MB / 0.8965 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.9568, allocations: 0 / 0.8965 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9568, allocations: 0 / 0.8965 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003293/0.9572, allocations: 0 / 0.8965 GB, free: 12.25 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01243/0.9696, allocations: 4.431 MB / 0.9008 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.9697, allocations: 12.03 kB / 0.9008 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/0.9789, allocations: 1.673 MB / 0.9025 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/0.9866, allocations: 2.696 MB / 0.9051 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.9868, allocations: 275.7 kB / 0.9053 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.9881, allocations: 368.1 kB / 0.9057 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/1.004, allocations: 7.487 MB / 0.913 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.005, allocations: 15.88 kB / 0.913 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005677/1.005, allocations: 155.9 kB / 0.9132 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007515/1.006, allocations: 487.3 kB / 0.9136 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/1.018, allocations: 5.701 MB / 0.9192 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/1.063, allocations: 31.48 MB / 0.9499 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/1.067, allocations: 2.085 MB / 0.952 GB, free: 236 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/1.07, allocations: 2.19 MB / 0.9541 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/1.07, allocations: 13.31 kB / 0.9541 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/1.07, allocations: 51.88 kB / 0.9542 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=146): time 7.013e-06/1.07, allocations: 0 / 0.9542 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of matching and sorting (n=251): time 0.3406/1.411, allocations: 77.01 MB / 1.029 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/1.411, allocations: 81.34 kB / 1.029 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.413, allocations: 1.674 MB / 1.031 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0006175/1.414, allocations: 65.7 kB / 1.031 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/1.415, allocations: 1.743 MB / 1.033 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.416, allocations: 0.8588 MB / 1.034 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009845/1.417, allocations: 485.2 kB / 1.034 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.417, allocations: 301.1 kB / 1.034 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/1.421, allocations: 2.73 MB / 1.037 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004269/1.426, allocations: 3.332 MB / 1.04 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/1.435, allocations: 6.393 MB / 1.047 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.435, allocations: 7.938 kB / 1.047 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03433/1.469, allocations: 14.68 MB / 1.061 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/1.469, allocations: 20.16 kB / 1.061 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/1.469, allocations: 20 kB / 1.061 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03082/1.5, allocations: 9.237 MB / 1.07 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.501, allocations: 303.4 kB / 1.07 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6368/2.138, allocations: 52.34 MB / 1.121 GB, free: 246.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/2.142, allocations: 221.6 kB / 1.122 GB, free: 246.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/2.142, allocations: 96 kB / 1.122 GB, free: 246.9 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002792/2.145, allocations: 1.592 MB / 1.123 GB, free: 246.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000652/2.145, allocations: 240.5 kB / 1.124 GB, free: 246.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03017/2.176, allocations: 14.75 MB / 1.138 GB, free: 242.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/2.176, allocations: 26.94 kB / 1.138 GB, free: 242.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001825/2.176, allocations: 41 kB / 1.138 GB, free: 242.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-05/2.176, allocations: 15.41 kB / 1.138 GB, free: 242.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03913/2.215, allocations: 20.51 MB / 1.158 GB, free: 225.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/2.215, allocations: 4 kB / 1.158 GB, free: 225.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/2.216, allocations: 163.7 kB / 1.158 GB, free: 225.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02737/2.243, allocations: 9 MB / 1.167 GB, free: 216.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007166/2.244, allocations: 48 kB / 1.167 GB, free: 216.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06944/2.313, allocations: 51.91 MB / 1.218 GB, free: 164.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/2.314, allocations: 8 kB / 1.218 GB, free: 164.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02979/2.343, allocations: 14.37 MB / 1.232 GB, free: 149.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/2.346, allocations: 0.8416 MB / 1.233 GB, free: 148.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008303/2.347, allocations: 57.95 kB / 1.233 GB, free: 148.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/2.349, allocations: 207.7 kB / 1.233 GB, free: 148.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001609/2.351, allocations: 241.4 kB / 1.233 GB, free: 148.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/2.351, allocations: 68 kB / 1.233 GB, free: 148.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001463/2.353, allocations: 1.121 MB / 1.234 GB, free: 147.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/2.353, allocations: 0 / 1.234 GB, free: 147.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005672/2.358, allocations: 1.602 MB / 1.236 GB, free: 145.6 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004731/2.359, allocations: 160.8 kB / 1.236 GB, free: 145.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02094/2.38, allocations: 10.55 MB / 1.246 GB, free: 134.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.38, allocations: 0.875 kB / 1.246 GB, free: 134.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/2.397, allocations: 7.313 MB / 1.253 GB, free: 127.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/2.4, allocations: 0.5608 MB / 1.254 GB, free: 126.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/2.417, allocations: 8.662 MB / 1.262 GB, free: 118.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003565/2.421, allocations: 3.227 MB / 1.266 GB, free: 114.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001222/2.422, allocations: 387.3 kB / 1.266 GB, free: 114.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/2.422, allocations: 103.4 kB / 1.266 GB, free: 114.5 MB / 0.9044 GB Notification: Performance of SimCode: time 1.313e-06/2.422, allocations: 0 / 1.266 GB, free: 114.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.1281/2.55, allocations: 92.61 MB / 1.356 GB, free: 22.15 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)