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.001708/0.001708, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 195 kB / 16.64 MB, free: 6.582 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.917/1.917, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001424/0.001424, allocations: 72.73 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02782/0.2876, allocations: 23.41 MB / 0.807 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.3011, allocations: 6.539 MB / 0.8134 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.3038, allocations: 99.5 kB / 0.8135 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.3085, allocations: 1.499 MB / 0.815 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.314, allocations: 1.824 MB / 0.8167 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.3184, allocations: 1.445 MB / 0.8181 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009931/0.3284, allocations: 6.904 MB / 0.8249 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01581/0.3442, allocations: 6.953 MB / 0.8317 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.3505, allocations: 2.839 MB / 0.8344 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007042/0.3576, allocations: 3.482 MB / 0.8378 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.3598, allocations: 0.5273 MB / 0.8384 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.3642, allocations: 1.17 MB / 0.8395 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004218/0.3684, allocations: 2.464 MB / 0.8419 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00534/0.3738, allocations: 2.536 MB / 0.8444 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009846/0.3836, allocations: 8.515 MB / 0.8527 GB, free: 6.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3837, allocations: 0 / 0.8527 GB, free: 6.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3837, allocations: 0 / 0.8527 GB, free: 6.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002779/0.384, allocations: 0 / 0.8527 GB, free: 6.25 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.01164/0.3957, allocations: 4.431 MB / 0.857 GB, free: 1.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3957, allocations: 12.03 kB / 0.857 GB, free: 1.738 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008415/0.4041, allocations: 1.681 MB / 0.8587 GB, free: 52 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006393/0.4106, allocations: 2.7 MB / 0.8613 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.4108, allocations: 275.7 kB / 0.8616 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009901/0.4118, allocations: 360.3 kB / 0.8619 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.4289, allocations: 7.483 MB / 0.8692 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.429, allocations: 15.88 kB / 0.8692 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007524/0.4298, allocations: 155.9 kB / 0.8694 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006052/0.4304, allocations: 487.3 kB / 0.8699 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.4445, allocations: 5.701 MB / 0.8754 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.4879, allocations: 31.5 MB / 0.9062 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.491, allocations: 2.093 MB / 0.9082 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/0.4945, allocations: 2.186 MB / 0.9104 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.4947, allocations: 13.31 kB / 0.9104 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.4948, allocations: 55.8 kB / 0.9104 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.506e-06/0.4948, allocations: 0 / 0.9104 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.7812/1.276, allocations: 77 MB / 0.9856 GB, free: 88.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/1.276, allocations: 81.23 kB / 0.9857 GB, free: 87.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.28, allocations: 1.67 MB / 0.9873 GB, free: 86.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007427/1.281, allocations: 61.7 kB / 0.9874 GB, free: 86.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/1.282, allocations: 1.746 MB / 0.9891 GB, free: 84.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.283, allocations: 0.8575 MB / 0.9899 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/1.285, allocations: 481.2 kB / 0.9904 GB, free: 83.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/1.285, allocations: 301.1 kB / 0.9907 GB, free: 82.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.288, allocations: 2.734 MB / 0.9934 GB, free: 80.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/1.292, allocations: 3.332 MB / 0.9966 GB, free: 76.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007379/1.299, allocations: 6.389 MB / 1.003 GB, free: 69.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.299, allocations: 11.94 kB / 1.003 GB, free: 69.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02926/1.329, allocations: 14.67 MB / 1.017 GB, free: 55.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/1.329, allocations: 12 kB / 1.017 GB, free: 55.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/1.329, allocations: 24.16 kB / 1.017 GB, free: 55.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/1.356, allocations: 9.236 MB / 1.026 GB, free: 45.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.358, allocations: 299.5 kB / 1.027 GB, free: 45.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07047/1.428, allocations: 52.34 MB / 1.078 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/1.431, allocations: 223.7 kB / 1.078 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/1.432, allocations: 100 kB / 1.078 GB, free: 8.035 MB / 0.7481 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.003079/1.435, allocations: 1.582 MB / 1.079 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/1.435, allocations: 241.1 kB / 1.08 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03524/1.471, allocations: 14.76 MB / 1.094 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.471, allocations: 24 kB / 1.094 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002631/1.471, allocations: 48.86 kB / 1.094 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/1.471, allocations: 11.95 kB / 1.094 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04627/1.517, allocations: 20.5 MB / 1.114 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/1.517, allocations: 12.03 kB / 1.114 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/1.518, allocations: 173 kB / 1.114 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03019/1.548, allocations: 9 MB / 1.123 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006038/1.549, allocations: 48 kB / 1.123 GB, free: 9.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08043/1.629, allocations: 51.93 MB / 1.174 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.629, allocations: 12.27 kB / 1.174 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03138/1.661, allocations: 14.35 MB / 1.188 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.663, allocations: 0.8492 MB / 1.189 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008061/1.664, allocations: 59.92 kB / 1.189 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/1.666, allocations: 207.7 kB / 1.189 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.668, allocations: 237.5 kB / 1.189 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.668, allocations: 64 kB / 1.189 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001669/1.67, allocations: 1.125 MB / 1.19 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/1.67, allocations: 0 / 1.19 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005239/1.675, allocations: 1.617 MB / 1.192 GB, free: 1.949 MB / 0.8575 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.0004596/1.675, allocations: 169.3 kB / 1.192 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02322/1.699, allocations: 10.56 MB / 1.203 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.699, allocations: 0 / 1.203 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01866/1.717, allocations: 7.307 MB / 1.21 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.721, allocations: 0.5585 MB / 1.21 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.738, allocations: 8.687 MB / 1.219 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.742, allocations: 3.224 MB / 1.222 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001142/1.743, allocations: 393.4 kB / 1.222 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.744, allocations: 99.44 kB / 1.222 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of SimCode: time 9.02e-07/1.744, allocations: 0 / 1.222 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of Templates: time 0.5938/2.337, allocations: 91.83 MB / 1.312 GB, free: 292.9 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)