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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 171.1 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 94.61 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 9.812 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1675, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01663/0.1841, allocations: 22.9 MB / 0.9191 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00852/0.1927, allocations: 6.539 MB / 0.9255 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.1943, allocations: 83.5 kB / 0.9256 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.1971, allocations: 1.336 MB / 0.9269 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.2, allocations: 1.747 MB / 0.9286 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.2024, allocations: 1.323 MB / 0.9299 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006287/0.2087, allocations: 10.55 MB / 0.9402 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007825/0.2165, allocations: 7.578 MB / 0.9476 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.2194, allocations: 2.128 MB / 0.9497 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.2226, allocations: 3.181 MB / 0.9528 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004566/0.2231, allocations: 252 kB / 0.953 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.225, allocations: 1.068 MB / 0.9541 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.2264, allocations: 2.089 MB / 0.9561 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.2281, allocations: 2.095 MB / 0.9581 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.233, allocations: 7.032 MB / 0.965 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.233, allocations: 0 / 0.965 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2331, allocations: 0 / 0.965 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001718/0.2332, allocations: 0 / 0.965 GB, free: 13.97 MB / 0.6198 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.006263/0.2395, allocations: 3.566 MB / 0.9685 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2395, allocations: 8.031 kB / 0.9685 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/0.2474, allocations: 1.677 MB / 0.9701 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/0.252, allocations: 2.575 MB / 0.9727 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.2522, allocations: 275.7 kB / 0.9729 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.2529, allocations: 364.2 kB / 0.9733 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.2648, allocations: 7.483 MB / 0.9806 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/0.2649, allocations: 15.88 kB / 0.9806 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.2653, allocations: 159.9 kB / 0.9807 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000544/0.2658, allocations: 491.3 kB / 0.9812 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009404/0.2753, allocations: 5.701 MB / 0.9868 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03285/0.3081, allocations: 31.66 MB / 1.018 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.3109, allocations: 2.086 MB / 1.02 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.3137, allocations: 2.167 MB / 1.022 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.3138, allocations: 21.3 kB / 1.022 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3139, allocations: 43.88 kB / 1.022 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/0.3139, allocations: 0 / 1.022 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=251): time 0.5885/0.9024, allocations: 75.27 MB / 1.095 GB, free: 127.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.9025, allocations: 85.34 kB / 1.095 GB, free: 127.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.9042, allocations: 1.674 MB / 1.097 GB, free: 126.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003281/0.9046, allocations: 65.7 kB / 1.097 GB, free: 126 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.9052, allocations: 1.743 MB / 1.099 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.9057, allocations: 0.8527 MB / 1.1 GB, free: 123.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.906, allocations: 206.5 kB / 1.1 GB, free: 123.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.9061, allocations: 301.1 kB / 1.1 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.9089, allocations: 2.734 MB / 1.103 GB, free: 120.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.9118, allocations: 3.336 MB / 1.106 GB, free: 116.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006032/0.9179, allocations: 6.389 MB / 1.112 GB, free: 110 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.9179, allocations: 7.938 kB / 1.112 GB, free: 110 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02624/0.9441, allocations: 14.68 MB / 1.127 GB, free: 95.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.9442, allocations: 12 kB / 1.127 GB, free: 95.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.9442, allocations: 24.19 kB / 1.127 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/0.9695, allocations: 9.237 MB / 1.136 GB, free: 85.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.9706, allocations: 299.4 kB / 1.136 GB, free: 85.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0578/1.028, allocations: 47.14 MB / 1.182 GB, free: 37.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/1.031, allocations: 225.6 kB / 1.182 GB, free: 37.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/1.031, allocations: 101.6 kB / 1.182 GB, free: 37.38 MB / 0.698 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.002408/1.034, allocations: 1.589 MB / 1.184 GB, free: 35.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/1.034, allocations: 241.1 kB / 1.184 GB, free: 35.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/1.061, allocations: 14.76 MB / 1.199 GB, free: 20.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.061, allocations: 24 kB / 1.199 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000143/1.061, allocations: 44 kB / 1.199 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/1.062, allocations: 11.95 kB / 1.199 GB, free: 20.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/1.097, allocations: 20.53 MB / 1.219 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/1.097, allocations: 4 kB / 1.219 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/1.098, allocations: 159.8 kB / 1.219 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02805/1.126, allocations: 9.001 MB / 1.228 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000486/1.127, allocations: 48 kB / 1.228 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06979/1.197, allocations: 46.74 MB / 1.273 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.197, allocations: 15.92 kB / 1.273 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/1.227, allocations: 14.36 MB / 1.287 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.229, allocations: 0.8416 MB / 1.288 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006514/1.229, allocations: 55.98 kB / 1.288 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.231, allocations: 203.7 kB / 1.288 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.232, allocations: 245.5 kB / 1.289 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.233, allocations: 64 kB / 1.289 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001516/1.234, allocations: 1.125 MB / 1.29 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.61e-07/1.234, allocations: 0 / 1.29 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004481/1.239, allocations: 1.602 MB / 1.291 GB, free: 4.48 MB / 0.7761 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.0004079/1.239, allocations: 159.1 kB / 1.292 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.26, allocations: 10.36 MB / 1.302 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.26, allocations: 4 kB / 1.302 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0157/1.276, allocations: 7.174 MB / 1.309 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.28, allocations: 0.5191 MB / 1.309 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/1.295, allocations: 11.2 MB / 1.32 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.298, allocations: 3.294 MB / 1.323 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/1.298, allocations: 111.4 kB / 1.323 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/1.298, allocations: 0 / 1.323 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of Templates: time 0.5385/1.837, allocations: 187 MB / 1.506 GB, free: 175.1 MB / 0.8542 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)