Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.4 MB / 303.4 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009963/0.000996, allocations: 173.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.6307 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 90.34 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005114, allocations: 11.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2575, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02886/0.2864, allocations: 34.47 MB / 1.013 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.3056, allocations: 10.59 MB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.3103, allocations: 127.3 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.3142, allocations: 0.7635 MB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008658/0.3229, allocations: 1.795 MB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.3288, allocations: 1.281 MB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01481/0.3436, allocations: 10.36 MB / 1.038 GB, free: 96 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02801/0.3717, allocations: 12.66 MB / 1.05 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008517/0.3803, allocations: 2.864 MB / 1.053 GB, free: 496 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009433/0.3898, allocations: 3.769 MB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002761/0.3926, allocations: 344 kB / 1.057 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.398, allocations: 0.7103 MB / 1.057 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0059/0.4039, allocations: 2.517 MB / 1.06 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.408, allocations: 1.194 MB / 1.061 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5847/0.9927, allocations: 10.18 MB / 1.071 GB, free: 27.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.9928, allocations: 2.719 kB / 1.071 GB, free: 27.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.448e-06/0.9928, allocations: 0 / 1.071 GB, free: 27.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006316/0.9934, allocations: 2.984 kB / 1.071 GB, free: 27.94 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02029/1.014, allocations: 5.149 MB / 1.076 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.014, allocations: 12.7 kB / 1.076 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009733/1.024, allocations: 1.069 MB / 1.077 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.035, allocations: 3.355 MB / 1.08 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/1.036, allocations: 418.9 kB / 1.081 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003622/1.04, allocations: 0.5429 MB / 1.081 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03083/1.071, allocations: 9.326 MB / 1.09 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/1.071, allocations: 25.34 kB / 1.09 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001427/1.072, allocations: 246.7 kB / 1.091 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007466/1.073, allocations: 422.3 kB / 1.091 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/1.097, allocations: 7.076 MB / 1.098 GB, free: 23.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/1.152, allocations: 41.36 MB / 1.138 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/1.159, allocations: 3.106 MB / 1.141 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00367/1.162, allocations: 2.116 MB / 1.143 GB, free: 9.684 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/1.163, allocations: 21.25 kB / 1.143 GB, free: 9.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.445e-05/1.163, allocations: 63.56 kB / 1.144 GB, free: 9.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.849e-06/1.163, allocations: 0 / 1.144 GB, free: 9.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.03025/1.193, allocations: 10.45 MB / 1.154 GB, free: 3.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.193, allocations: 72 kB / 1.154 GB, free: 3.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/1.197, allocations: 1.988 MB / 1.156 GB, free: 2.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004147/1.197, allocations: 61.61 kB / 1.156 GB, free: 2.535 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.199, allocations: 2.406 MB / 1.158 GB, free: 432 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.2, allocations: 0.7322 MB / 1.159 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.201, allocations: 51.75 kB / 1.159 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002699/1.201, allocations: 414 kB / 1.159 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/1.203, allocations: 1.362 MB / 1.161 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/1.206, allocations: 2.098 MB / 1.163 GB, free: 13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/1.209, allocations: 1.716 MB / 1.164 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/1.209, allocations: 11.66 kB / 1.164 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009332/1.219, allocations: 5.045 MB / 1.169 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/1.219, allocations: 15.78 kB / 1.169 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.665e-05/1.219, allocations: 21.62 kB / 1.169 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/1.223, allocations: 1.572 MB / 1.171 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.225, allocations: 448.2 kB / 1.171 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/1.249, allocations: 17.07 MB / 1.188 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.252, allocations: 139.9 kB / 1.188 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/1.253, allocations: 108 kB / 1.188 GB, free: 7.824 MB / 0.7292 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005054/1.258, allocations: 1.946 MB / 1.19 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.259, allocations: 288.7 kB / 1.19 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009325/1.268, allocations: 4.424 MB / 1.195 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/1.268, allocations: 27.98 kB / 1.195 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.495e-05/1.268, allocations: 21.97 kB / 1.195 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/1.268, allocations: 7.969 kB / 1.195 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.291, allocations: 9.641 MB / 1.204 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.291, allocations: 7.953 kB / 1.204 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.293, allocations: 237.7 kB / 1.204 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003823/1.296, allocations: 1.427 MB / 1.206 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003412/1.297, allocations: 40 kB / 1.206 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/1.32, allocations: 17.08 MB / 1.223 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.32, allocations: 11.31 kB / 1.223 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/1.329, allocations: 4.519 MB / 1.227 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.332, allocations: 0.6382 MB / 1.228 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.333, allocations: 40 kB / 1.228 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.335, allocations: 115.9 kB / 1.228 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/1.336, allocations: 181.1 kB / 1.228 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.336, allocations: 60 kB / 1.228 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003042/1.339, allocations: 1.298 MB / 1.229 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.339, allocations: 0 / 1.229 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006577/1.346, allocations: 1.141 MB / 1.23 GB, free: 12.2 MB / 0.7761 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006664/1.347, allocations: 166 kB / 1.231 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008347/1.355, allocations: 4.666 MB / 1.235 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.355, allocations: 6.234 kB / 1.235 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/1.36, allocations: 2.931 MB / 1.238 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005906/1.366, allocations: 0.8353 MB / 1.239 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.389, allocations: 11.22 MB / 1.25 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007706/1.397, allocations: 3.69 MB / 1.253 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003071/1.4, allocations: 0.5537 MB / 1.254 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/1.4, allocations: 151.4 kB / 1.254 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of SimCode: time 1.603e-06/1.4, allocations: 0 / 1.254 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of Templates: time 0.1003/1.501, allocations: 48.82 MB / 1.302 GB, free: 3.812 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)