Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001139/0.001139, allocations: 189 kB / 371.8 MB, free: 10.3 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.753/1.753, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001033/0.001033, allocations: 100.3 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006624, allocations: 11.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2412, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8419/1.083, allocations: 160.1 MB / 1.136 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.084, allocations: 95.91 kB / 1.136 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09311/1.177, allocations: 36.75 MB / 1.172 GB, free: 6.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/1.177, allocations: 0 / 1.172 GB, free: 6.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.333e-05/1.177, allocations: 27.98 kB / 1.172 GB, free: 6.754 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002828/1.18, allocations: 1.035 MB / 1.173 GB, free: 5.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.18, allocations: 8.031 kB / 1.173 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/1.182, allocations: 238.7 kB / 1.173 GB, free: 5.477 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/1.184, allocations: 0.5332 MB / 1.174 GB, free: 4.965 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/1.184, allocations: 51.86 kB / 1.174 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/1.184, allocations: 69.61 kB / 1.174 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/1.186, allocations: 1.128 MB / 1.175 GB, free: 3.887 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/1.186, allocations: 7.938 kB / 1.175 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.187, allocations: 41.8 kB / 1.175 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.187, allocations: 52.72 kB / 1.175 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/1.188, allocations: 0.7471 MB / 1.176 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008161/1.196, allocations: 5.91 MB / 1.181 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.198, allocations: 0.5511 MB / 1.182 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/1.198, allocations: 4.438 kB / 1.182 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.198, allocations: 38.38 kB / 1.182 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 5.43e-06/1.198, allocations: 4 kB / 1.182 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.005646/1.204, allocations: 1.981 MB / 1.184 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.204, allocations: 59.84 kB / 1.184 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/1.205, allocations: 493.9 kB / 1.184 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/1.205, allocations: 40.27 kB / 1.184 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/1.205, allocations: 404.2 kB / 1.185 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.205, allocations: 172.5 kB / 1.185 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/1.206, allocations: 13.19 kB / 1.185 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002356/1.206, allocations: 373.9 kB / 1.185 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/1.206, allocations: 270.4 kB / 1.186 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/1.207, allocations: 459.4 kB / 1.186 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/1.207, allocations: 340.7 kB / 1.186 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.207, allocations: 8 kB / 1.186 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002293/1.209, allocations: 1.054 MB / 1.187 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.21, allocations: 8 kB / 1.187 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.21, allocations: 4.75 kB / 1.187 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.211, allocations: 285.3 kB / 1.188 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.211, allocations: 119.7 kB / 1.188 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008494/1.22, allocations: 6.692 MB / 1.194 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.221, allocations: 36.47 kB / 1.194 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/1.221, allocations: 27.19 kB / 1.194 GB, free: 1.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007065/1.222, allocations: 251.6 kB / 1.195 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.222, allocations: 71.31 kB / 1.195 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.224, allocations: 0.8881 MB / 1.196 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.225, allocations: 8.141 kB / 1.196 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.225, allocations: 4 kB / 1.196 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.225, allocations: 11.97 kB / 1.196 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/1.229, allocations: 1.714 MB / 1.197 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.229, allocations: 4 kB / 1.197 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/1.229, allocations: 67 kB / 1.197 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009577/1.23, allocations: 259.6 kB / 1.198 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/1.23, allocations: 11.12 kB / 1.198 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008837/1.239, allocations: 6.691 MB / 1.204 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.239, allocations: 7.969 kB / 1.204 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/1.241, allocations: 1.044 MB / 1.205 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/1.242, allocations: 198.8 kB / 1.205 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.242, allocations: 11.69 kB / 1.205 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/1.243, allocations: 27.59 kB / 1.205 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.243, allocations: 51.5 kB / 1.205 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/1.243, allocations: 15.81 kB / 1.205 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006396/1.243, allocations: 381.5 kB / 1.206 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.243, allocations: 0 / 1.206 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001408/1.245, allocations: 227.2 kB / 1.206 GB, free: 6.879 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/1.245, allocations: 122 kB / 1.206 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002788/1.248, allocations: 1.253 MB / 1.207 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.248, allocations: 7.562 kB / 1.207 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/1.25, allocations: 0.8923 MB / 1.208 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.251, allocations: 190.4 kB / 1.208 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/1.254, allocations: 1.573 MB / 1.21 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/1.255, allocations: 1.028 MB / 1.211 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006778/1.256, allocations: 121.9 kB / 1.211 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/1.256, allocations: 42.81 kB / 1.211 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of SimCode: time 1.393e-06/1.256, allocations: 0 / 1.211 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of Templates: time 0.02816/1.284, allocations: 10.3 MB / 1.221 GB, free: 7.863 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)