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.716/1.716, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.0009069/0.0009069, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.571/1.571, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0008451/0.000845, allocations: 94.34 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004029, allocations: 11.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8365/1.081, allocations: 182 MB / 1.158 GB, free: 452 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.081, allocations: 102.3 kB / 1.159 GB, free: 392 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07065/1.152, allocations: 28.84 MB / 1.187 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/1.152, allocations: 0 / 1.187 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.655e-05/1.152, allocations: 8 kB / 1.187 GB, free: 8.066 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.001388/1.153, allocations: 0.7418 MB / 1.187 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.153, allocations: 8.031 kB / 1.187 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/1.156, allocations: 0.5727 MB / 1.188 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/1.157, allocations: 484.3 kB / 1.188 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.157, allocations: 22.03 kB / 1.188 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/1.157, allocations: 34.25 kB / 1.188 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/1.158, allocations: 0.7665 MB / 1.189 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.158, allocations: 7.938 kB / 1.189 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/1.159, allocations: 10.88 kB / 1.189 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/1.159, allocations: 24.14 kB / 1.189 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.161, allocations: 0.8516 MB / 1.19 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/1.165, allocations: 2.854 MB / 1.193 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/1.166, allocations: 0.5233 MB / 1.193 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/1.167, allocations: 262.3 kB / 1.194 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/1.167, allocations: 97.02 kB / 1.194 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.167, allocations: 38.44 kB / 1.194 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.955e-06/1.167, allocations: 0 / 1.194 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01146/1.179, allocations: 3.221 MB / 1.197 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.179, allocations: 81.11 kB / 1.197 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/1.179, allocations: 418.6 kB / 1.197 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/1.179, allocations: 29.64 kB / 1.197 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/1.179, allocations: 239.9 kB / 1.198 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/1.18, allocations: 73.98 kB / 1.198 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/1.18, allocations: 3.75 kB / 1.198 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.18, allocations: 350.6 kB / 1.198 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/1.181, allocations: 356.9 kB / 1.198 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009405/1.182, allocations: 443.7 kB / 1.199 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/1.183, allocations: 0.7755 MB / 1.2 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.183, allocations: 0 / 1.2 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005318/1.189, allocations: 1.553 MB / 1.201 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/1.189, allocations: 147.3 kB / 1.201 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.189, allocations: 4 kB / 1.201 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/1.193, allocations: 0.8478 MB / 1.202 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/1.193, allocations: 131.2 kB / 1.202 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/1.2, allocations: 4.678 MB / 1.207 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/1.201, allocations: 118.8 kB / 1.207 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.201, allocations: 19.67 kB / 1.207 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/1.201, allocations: 4 kB / 1.207 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004094/1.205, allocations: 1.245 MB / 1.208 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.205, allocations: 4 kB / 1.208 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/1.208, allocations: 0.5544 MB / 1.209 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/1.209, allocations: 151.4 kB / 1.209 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/1.212, allocations: 2.498 MB / 1.211 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/1.213, allocations: 115.1 kB / 1.211 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/1.213, allocations: 15.67 kB / 1.211 GB, free: 1.379 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.000619/1.214, allocations: 325.7 kB / 1.212 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.214, allocations: 42.59 kB / 1.212 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/1.218, allocations: 1.424 MB / 1.213 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.218, allocations: 0 / 1.213 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.218, allocations: 4 kB / 1.213 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.219, allocations: 144 / 1.213 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/1.224, allocations: 2.099 MB / 1.215 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.224, allocations: 4 kB / 1.215 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/1.224, allocations: 83.84 kB / 1.215 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.228, allocations: 0.792 MB / 1.216 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/1.228, allocations: 11.5 kB / 1.216 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.234, allocations: 4.486 MB / 1.22 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.234, allocations: 4.031 kB / 1.22 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/1.239, allocations: 1.444 MB / 1.222 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/1.239, allocations: 173.7 kB / 1.222 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.239, allocations: 7 kB / 1.222 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/1.24, allocations: 98.47 kB / 1.222 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.24, allocations: 19.91 kB / 1.222 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/1.24, allocations: 15.11 kB / 1.222 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004651/1.24, allocations: 306.9 kB / 1.222 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.24, allocations: 4 kB / 1.222 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001135/1.242, allocations: 231.3 kB / 1.223 GB, free: 7.113 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.0003726/1.242, allocations: 165.2 kB / 1.223 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003921/1.246, allocations: 1.63 MB / 1.224 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.246, allocations: 0 / 1.224 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.247, allocations: 0.6654 MB / 1.225 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/1.248, allocations: 127.1 kB / 1.225 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/1.251, allocations: 1.214 MB / 1.226 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/1.251, allocations: 0.9122 MB / 1.227 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006175/1.252, allocations: 143.2 kB / 1.227 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/1.252, allocations: 42.91 kB / 1.227 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/1.252, allocations: 4 kB / 1.227 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.02267/1.275, allocations: 12.46 MB / 1.24 GB, free: 6.324 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)