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.886/1.886, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001082/0.001082, allocations: 169.2 kB / 371.8 MB, free: 10.14 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.636/1.636, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0008582/0.0008584, allocations: 94.97 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 12.38 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8553/1.105, allocations: 181.9 MB / 1.157 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.106, allocations: 102.7 kB / 1.157 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07276/1.179, allocations: 28.8 MB / 1.185 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.234e-06/1.179, allocations: 0 / 1.185 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.923e-05/1.179, allocations: 15.94 kB / 1.185 GB, free: 8.453 MB / 0.7136 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.001383/1.18, allocations: 0.7478 MB / 1.186 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.18, allocations: 8.031 kB / 1.186 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/1.183, allocations: 0.5646 MB / 1.187 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/1.184, allocations: 486 kB / 1.187 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.184, allocations: 28.16 kB / 1.187 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/1.184, allocations: 34.3 kB / 1.187 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.185, allocations: 0.7511 MB / 1.188 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.185, allocations: 0 / 1.188 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/1.185, allocations: 18.48 kB / 1.188 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/1.185, allocations: 20.66 kB / 1.188 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.187, allocations: 0.854 MB / 1.189 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/1.191, allocations: 2.865 MB / 1.192 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.193, allocations: 0.5218 MB / 1.192 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/1.193, allocations: 93.09 kB / 1.192 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.193, allocations: 30.56 kB / 1.192 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/1.193, allocations: 3.938 kB / 1.192 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.009752/1.203, allocations: 2.951 MB / 1.195 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.203, allocations: 81.11 kB / 1.195 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/1.203, allocations: 377.1 kB / 1.195 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/1.204, allocations: 29.02 kB / 1.196 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/1.204, allocations: 230.8 kB / 1.196 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/1.204, allocations: 85.5 kB / 1.196 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/1.204, allocations: 3.438 kB / 1.196 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.204, allocations: 357.1 kB / 1.196 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/1.205, allocations: 360.4 kB / 1.197 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/1.206, allocations: 441.8 kB / 1.197 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008604/1.207, allocations: 389.7 kB / 1.197 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.207, allocations: 3.938 kB / 1.197 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004276/1.211, allocations: 1.408 MB / 1.199 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003725/1.211, allocations: 0.788 MB / 1.199 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.211, allocations: 0 / 1.199 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.214, allocations: 0.7109 MB / 1.2 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/1.215, allocations: 131.3 kB / 1.2 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/1.219, allocations: 3.249 MB / 1.203 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/1.22, allocations: 119 kB / 1.204 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/1.22, allocations: 15.98 kB / 1.204 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.22, allocations: 4 kB / 1.204 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003528/1.224, allocations: 1.149 MB / 1.205 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.224, allocations: 4 kB / 1.205 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/1.226, allocations: 464.1 kB / 1.205 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/1.226, allocations: 143.8 kB / 1.205 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/1.23, allocations: 2.538 MB / 1.208 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/1.23, allocations: 106.2 kB / 1.208 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/1.231, allocations: 15.98 kB / 1.208 GB, free: 3.75 MB / 0.7292 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 () * Number of clocked 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.000585/1.231, allocations: 323.7 kB / 1.208 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.231, allocations: 43.64 kB / 1.208 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.235, allocations: 1.304 MB / 1.21 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/1.235, allocations: 4 kB / 1.21 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.236, allocations: 0 / 1.21 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.236, allocations: 3.938 kB / 1.21 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/1.241, allocations: 1.99 MB / 1.211 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.241, allocations: 0 / 1.211 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/1.241, allocations: 95.33 kB / 1.212 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.244, allocations: 0.6881 MB / 1.212 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/1.244, allocations: 11.92 kB / 1.212 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005814/1.25, allocations: 4.561 MB / 1.217 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.25, allocations: 0 / 1.217 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/1.254, allocations: 1.372 MB / 1.218 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/1.254, allocations: 179 kB / 1.218 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/1.254, allocations: 6.938 kB / 1.218 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/1.255, allocations: 91.78 kB / 1.218 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.255, allocations: 23.94 kB / 1.218 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/1.255, allocations: 8 kB / 1.218 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000384/1.255, allocations: 311.4 kB / 1.219 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.255, allocations: 0 / 1.219 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00108/1.256, allocations: 219.4 kB / 1.219 GB, free: 9.867 MB / 0.7448 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 () * Number of clocked 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.0003401/1.257, allocations: 167 kB / 1.219 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003496/1.26, allocations: 1.508 MB / 1.22 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.26, allocations: 0 / 1.22 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.262, allocations: 0.6616 MB / 1.221 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/1.262, allocations: 119.6 kB / 1.221 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.264, allocations: 1.208 MB / 1.222 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/1.265, allocations: 0.9239 MB / 1.223 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005566/1.265, allocations: 151.2 kB / 1.223 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/1.266, allocations: 38.8 kB / 1.223 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/1.266, allocations: 4 kB / 1.223 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.01897/1.285, allocations: 11.79 MB / 1.235 GB, free: 9.863 MB / 0.7605 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)