Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.82 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: 174.6 kB / 378.7 MB, free: 1.016 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.606/1.606, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007721/0.0007722, allocations: 85.41 kB / 0.7527 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003819, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.774/1.043, allocations: 183 MB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.043, allocations: 100.5 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07498/1.118, allocations: 28.83 MB / 1.197 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.655e-06/1.118, allocations: 0 / 1.197 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.214e-05/1.118, allocations: 8 kB / 1.197 GB, free: 1.398 MB / 0.7605 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.001735/1.12, allocations: 0.7455 MB / 1.198 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.12, allocations: 12.03 kB / 1.198 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/1.123, allocations: 0.5697 MB / 1.199 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/1.124, allocations: 495.6 kB / 1.199 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/1.124, allocations: 21.03 kB / 1.199 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.124, allocations: 28.38 kB / 1.199 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.126, allocations: 0.7636 MB / 1.2 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.126, allocations: 3.938 kB / 1.2 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/1.126, allocations: 13.94 kB / 1.2 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/1.126, allocations: 24.64 kB / 1.2 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/1.128, allocations: 0.857 MB / 1.201 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/1.132, allocations: 2.858 MB / 1.204 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.134, allocations: 0.5331 MB / 1.204 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/1.135, allocations: 257.3 kB / 1.204 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/1.135, allocations: 89.09 kB / 1.204 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.135, allocations: 38.56 kB / 1.205 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 4.518e-06/1.135, allocations: 0 / 1.205 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.01138/1.146, allocations: 3.224 MB / 1.208 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.146, allocations: 77.11 kB / 1.208 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/1.147, allocations: 413.6 kB / 1.208 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/1.147, allocations: 33.7 kB / 1.208 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/1.147, allocations: 239.7 kB / 1.208 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.782e-05/1.147, allocations: 74.92 kB / 1.208 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.147, allocations: 4 kB / 1.208 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.148, allocations: 342.8 kB / 1.209 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/1.148, allocations: 363.7 kB / 1.209 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/1.149, allocations: 447.7 kB / 1.21 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/1.151, allocations: 0.7725 MB / 1.21 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.151, allocations: 0 / 1.21 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004978/1.156, allocations: 1.553 MB / 1.212 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.156, allocations: 148 kB / 1.212 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.156, allocations: 4 kB / 1.212 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/1.16, allocations: 0.8442 MB / 1.213 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/1.161, allocations: 135.8 kB / 1.213 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/1.168, allocations: 4.67 MB / 1.218 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008498/1.169, allocations: 123.9 kB / 1.218 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/1.169, allocations: 15.98 kB / 1.218 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.169, allocations: 6.344 kB / 1.218 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004088/1.173, allocations: 1.253 MB / 1.219 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.173, allocations: 4 kB / 1.219 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/1.175, allocations: 0.5587 MB / 1.219 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/1.176, allocations: 151.8 kB / 1.22 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/1.18, allocations: 2.498 MB / 1.222 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/1.181, allocations: 111.8 kB / 1.222 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/1.181, allocations: 17.92 kB / 1.222 GB, free: 7.121 MB / 0.7917 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.0006846/1.182, allocations: 324.9 kB / 1.222 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.182, allocations: 43.52 kB / 1.222 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/1.187, allocations: 1.409 MB / 1.224 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.187, allocations: 0 / 1.224 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.187, allocations: 3.938 kB / 1.224 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.187, allocations: 7.984 kB / 1.224 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/1.193, allocations: 2.094 MB / 1.226 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.194, allocations: 0 / 1.226 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/1.194, allocations: 95.92 kB / 1.226 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/1.197, allocations: 0.7896 MB / 1.227 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/1.198, allocations: 0 / 1.227 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006768/1.204, allocations: 4.491 MB / 1.231 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.204, allocations: 3.453 kB / 1.231 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/1.209, allocations: 1.445 MB / 1.233 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/1.209, allocations: 168.7 kB / 1.233 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/1.209, allocations: 4 kB / 1.233 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/1.21, allocations: 95.84 kB / 1.233 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.21, allocations: 31.91 kB / 1.233 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/1.21, allocations: 8 kB / 1.233 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004936/1.211, allocations: 307.1 kB / 1.233 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.211, allocations: 0 / 1.233 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00113/1.212, allocations: 235.9 kB / 1.233 GB, free: 11.18 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 () * 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.0003865/1.212, allocations: 174.9 kB / 1.234 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003785/1.216, allocations: 1.625 MB / 1.235 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.216, allocations: 4 kB / 1.235 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.217, allocations: 0.6691 MB / 1.236 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/1.218, allocations: 117.9 kB / 1.236 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/1.221, allocations: 1.211 MB / 1.237 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/1.221, allocations: 0.9171 MB / 1.238 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006484/1.222, allocations: 148.1 kB / 1.238 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.222, allocations: 35.41 kB / 1.238 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/1.222, allocations: 0 / 1.238 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.02307/1.245, allocations: 12.46 MB / 1.25 GB, free: 9.766 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)