Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008097/0.0008095, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008657/0.0008658, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.0005665/0.0005666, allocations: 11.81 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.277, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02215/0.2992, allocations: 21.28 MB / 0.8081 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.311, allocations: 6.242 MB / 0.8142 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.314, allocations: 79.5 kB / 0.8142 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3152, allocations: 456.6 kB / 0.8147 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.3197, allocations: 1.552 MB / 0.8162 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.3226, allocations: 0.9112 MB / 0.8171 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009983/0.3326, allocations: 8.209 MB / 0.8251 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.3447, allocations: 7.089 MB / 0.832 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/0.3493, allocations: 2.14 MB / 0.8341 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.3545, allocations: 3.131 MB / 0.8372 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.3551, allocations: 244 kB / 0.8374 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.3571, allocations: 0.5814 MB / 0.838 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.3593, allocations: 2.109 MB / 0.84 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.3606, allocations: 0.8433 MB / 0.8409 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006986/0.3676, allocations: 7.017 MB / 0.8477 GB, free: 13.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3676, allocations: 4 kB / 0.8477 GB, free: 13.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3677, allocations: 3.938 kB / 0.8477 GB, free: 13.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002909/0.368, allocations: 0 / 0.8477 GB, free: 13.84 MB / 0.67 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.009113/0.3771, allocations: 3.601 MB / 0.8512 GB, free: 10.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3771, allocations: 15.95 kB / 0.8512 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008392/0.3855, allocations: 1.688 MB / 0.8529 GB, free: 8.457 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/0.3917, allocations: 2.501 MB / 0.8553 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.392, allocations: 283.3 kB / 0.8556 GB, free: 5.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000971/0.3929, allocations: 359.8 kB / 0.8559 GB, free: 5.273 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.4071, allocations: 7.447 MB / 0.8632 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.551e-05/0.4073, allocations: 15.88 kB / 0.8632 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.4077, allocations: 159.9 kB / 0.8634 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/0.4083, allocations: 495.3 kB / 0.8639 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.4192, allocations: 5.677 MB / 0.8694 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/0.4622, allocations: 31.67 MB / 0.9003 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.4655, allocations: 2.082 MB / 0.9024 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.4688, allocations: 2.178 MB / 0.9045 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.4691, allocations: 17.31 kB / 0.9045 GB, free: 492 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4692, allocations: 43.88 kB / 0.9046 GB, free: 440 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/0.4692, allocations: 0 / 0.9046 GB, free: 440 kB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 0.7156/1.185, allocations: 75.24 MB / 0.978 GB, free: 97.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/1.185, allocations: 81.41 kB / 0.9781 GB, free: 97.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.187, allocations: 1.654 MB / 0.9797 GB, free: 95.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004031/1.187, allocations: 69.69 kB / 0.9798 GB, free: 95.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/1.188, allocations: 1.746 MB / 0.9815 GB, free: 93.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/1.189, allocations: 0.8492 MB / 0.9823 GB, free: 92.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/1.189, allocations: 56 kB / 0.9824 GB, free: 92.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.189, allocations: 411 kB / 0.9828 GB, free: 92.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.192, allocations: 2.722 MB / 0.9854 GB, free: 89.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/1.195, allocations: 3.324 MB / 0.9887 GB, free: 86.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/1.199, allocations: 3.059 MB / 0.9917 GB, free: 83.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.199, allocations: 4 kB / 0.9917 GB, free: 83.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0253/1.224, allocations: 14.64 MB / 1.006 GB, free: 68.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/1.224, allocations: 12 kB / 1.006 GB, free: 68.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.224, allocations: 16 kB / 1.006 GB, free: 68.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02367/1.248, allocations: 9.238 MB / 1.015 GB, free: 59.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.249, allocations: 303.5 kB / 1.015 GB, free: 58.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05763/1.307, allocations: 47.06 MB / 1.061 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.309, allocations: 219.7 kB / 1.061 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/1.31, allocations: 96 kB / 1.062 GB, free: 10.64 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002524/1.312, allocations: 1.583 MB / 1.063 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/1.313, allocations: 249.1 kB / 1.063 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02754/1.34, allocations: 14.72 MB / 1.078 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/1.34, allocations: 24 kB / 1.078 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000138/1.341, allocations: 48 kB / 1.078 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.542e-05/1.341, allocations: 11.95 kB / 1.078 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/1.379, allocations: 20.48 MB / 1.098 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.379, allocations: 4 kB / 1.098 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007137/1.38, allocations: 171.8 kB / 1.098 GB, free: 5.152 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02608/1.406, allocations: 8.995 MB / 1.107 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004616/1.406, allocations: 49.17 kB / 1.107 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06868/1.475, allocations: 46.69 MB / 1.152 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/1.475, allocations: 8 kB / 1.152 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02873/1.504, allocations: 14.33 MB / 1.166 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.506, allocations: 0.8455 MB / 1.167 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008204/1.507, allocations: 55.98 kB / 1.167 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.509, allocations: 203.7 kB / 1.167 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/1.51, allocations: 247.7 kB / 1.168 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/1.511, allocations: 64 kB / 1.168 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001601/1.512, allocations: 1.106 MB / 1.169 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/1.512, allocations: 448 / 1.169 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005204/1.517, allocations: 1.617 MB / 1.17 GB, free: 9.926 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004104/1.518, allocations: 159.1 kB / 1.171 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02057/1.538, allocations: 10.34 MB / 1.181 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.539, allocations: 0 / 1.181 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01596/1.554, allocations: 7.163 MB / 1.188 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.558, allocations: 0.5067 MB / 1.188 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.574, allocations: 10.2 MB / 1.198 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/1.577, allocations: 3.234 MB / 1.201 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00116/1.579, allocations: 391.3 kB / 1.202 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.579, allocations: 95.44 kB / 1.202 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of SimCode: time 8.92e-07/1.579, allocations: 0 / 1.202 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of Templates: time 0.5493/2.128, allocations: 84.39 MB / 1.284 GB, free: 305.2 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: