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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.4 MB / 298 MB, free: 6 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.001017/0.001018, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.634/1.634, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009633/0.0009627, allocations: 97.7 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.18e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7829, allocations: 115.3 MB / 0.9709 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/1.023, allocations: 181.9 MB / 1.148 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.023, allocations: 92.44 kB / 1.149 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07058/1.094, allocations: 28.68 MB / 1.177 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/1.094, allocations: 4 kB / 1.177 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.454e-05/1.094, allocations: 8 kB / 1.177 GB, free: 4.984 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00122/1.095, allocations: 0.6814 MB / 1.177 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.095, allocations: 8.031 kB / 1.177 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/1.098, allocations: 0.5727 MB / 1.178 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/1.099, allocations: 474.7 kB / 1.178 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.099, allocations: 28.77 kB / 1.178 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.099, allocations: 31.98 kB / 1.178 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/1.1, allocations: 0.5814 MB / 1.179 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.1, allocations: 7.984 kB / 1.179 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/1.1, allocations: 13.94 kB / 1.179 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/1.1, allocations: 20.78 kB / 1.179 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/1.101, allocations: 0.5105 MB / 1.179 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/1.105, allocations: 2.866 MB / 1.182 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/1.106, allocations: 342.3 kB / 1.183 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/1.106, allocations: 169 kB / 1.183 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.106, allocations: 93.03 kB / 1.183 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.106, allocations: 38.5 kB / 1.183 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 2.474e-06/1.106, allocations: 0 / 1.183 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.006271/1.112, allocations: 2.033 MB / 1.185 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/1.112, allocations: 85.05 kB / 1.185 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/1.113, allocations: 363.6 kB / 1.185 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/1.113, allocations: 37.7 kB / 1.185 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.113, allocations: 239.7 kB / 1.186 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/1.113, allocations: 78.89 kB / 1.186 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.113, allocations: 8 kB / 1.186 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.113, allocations: 350.7 kB / 1.186 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/1.114, allocations: 239.9 kB / 1.186 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/1.114, allocations: 325.5 kB / 1.186 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/1.114, allocations: 271.1 kB / 1.187 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.114, allocations: 3.938 kB / 1.187 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002863/1.117, allocations: 1.144 MB / 1.188 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/1.118, allocations: 0.7862 MB / 1.189 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.118, allocations: 4 kB / 1.189 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/1.12, allocations: 0.6337 MB / 1.189 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/1.121, allocations: 131.8 kB / 1.189 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/1.125, allocations: 3.124 MB / 1.192 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/1.126, allocations: 113.6 kB / 1.193 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/1.126, allocations: 19.73 kB / 1.193 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.126, allocations: 4 kB / 1.193 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002237/1.128, allocations: 0.8749 MB / 1.193 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.128, allocations: 7.953 kB / 1.193 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/1.129, allocations: 400.4 kB / 1.194 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.13, allocations: 143.8 kB / 1.194 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/1.133, allocations: 2.401 MB / 1.196 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/1.134, allocations: 103.8 kB / 1.196 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.134, allocations: 12 kB / 1.196 GB, free: 15.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.134, allocations: 132.9 kB / 1.197 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.134, allocations: 35.58 kB / 1.197 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/1.137, allocations: 1.113 MB / 1.198 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.137, allocations: 4 kB / 1.198 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.137, allocations: 0 / 1.198 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.137, allocations: 0 / 1.198 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/1.141, allocations: 1.803 MB / 1.199 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.141, allocations: 0.8125 kB / 1.199 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/1.142, allocations: 83.84 kB / 1.2 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/1.144, allocations: 0.6231 MB / 1.2 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/1.144, allocations: 4 kB / 1.2 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005429/1.15, allocations: 4.378 MB / 1.204 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.15, allocations: 2 kB / 1.204 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.153, allocations: 1.172 MB / 1.206 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/1.153, allocations: 180.6 kB / 1.206 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/1.153, allocations: 0 / 1.206 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/1.154, allocations: 95.86 kB / 1.206 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.154, allocations: 19.97 kB / 1.206 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/1.154, allocations: 15.98 kB / 1.206 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004444/1.154, allocations: 302.1 kB / 1.206 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.51e-07/1.154, allocations: 0 / 1.206 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009575/1.155, allocations: 219 kB / 1.206 GB, free: 5.266 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003461/1.156, allocations: 168.4 kB / 1.206 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.158, allocations: 1.203 MB / 1.208 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.158, allocations: 0 / 1.208 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/1.159, allocations: 0.5784 MB / 1.208 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/1.16, allocations: 112.4 kB / 1.208 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.161, allocations: 0.7595 MB / 1.209 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/1.162, allocations: 0.9213 MB / 1.21 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007611/1.162, allocations: 213.3 kB / 1.21 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.163, allocations: 39.41 kB / 1.21 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/1.163, allocations: 0 / 1.21 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.02128/1.184, allocations: 12.19 MB / 1.222 GB, free: 5.105 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)