Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.73/1.73, 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.001164/0.001164, allocations: 176.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.722/1.722, allocations: 205.4 MB / 0.6383 GB, free: 9.105 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.0007908/0.0007908, allocations: 94.33 kB / 0.7527 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004112, allocations: 15.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 116.4 MB / 0.9905 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6846/0.9313, allocations: 158.2 MB / 1.145 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9317, allocations: 97.62 kB / 1.145 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0274/0.9591, allocations: 11.84 MB / 1.157 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9591, allocations: 0 / 1.157 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.9592, allocations: 4 kB / 1.157 GB, free: 11.29 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005365/0.9597, allocations: 476.7 kB / 1.157 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.9597, allocations: 12.03 kB / 1.157 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.9603, allocations: 68.81 kB / 1.157 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.9605, allocations: 233.8 kB / 1.157 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9606, allocations: 9.547 kB / 1.157 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.9606, allocations: 8.375 kB / 1.157 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.961, allocations: 288.8 kB / 1.158 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.961, allocations: 0 / 1.158 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.961, allocations: 9.125 kB / 1.158 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.961, allocations: 23.31 kB / 1.158 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.9613, allocations: 205 kB / 1.158 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.9626, allocations: 1.588 MB / 1.159 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.9627, allocations: 73.12 kB / 1.159 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.9628, allocations: 45.81 kB / 1.16 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.9628, allocations: 4 kB / 1.16 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.9628, allocations: 30.56 kB / 1.16 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.9628, allocations: 4 kB / 1.16 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.9633, allocations: 220.5 kB / 1.16 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.9633, allocations: 81.3 kB / 1.16 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.9635, allocations: 222.3 kB / 1.16 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.9635, allocations: 26.92 kB / 1.16 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.9636, allocations: 163.5 kB / 1.16 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.9636, allocations: 31.55 kB / 1.16 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.9636, allocations: 0 / 1.16 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.9637, allocations: 326.8 kB / 1.161 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.9638, allocations: 75.95 kB / 1.161 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.9639, allocations: 155.1 kB / 1.161 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.9641, allocations: 244.3 kB / 1.161 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9641, allocations: 0 / 1.161 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003371/0.9645, allocations: 269.5 kB / 1.161 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.9645, allocations: 179.3 kB / 1.161 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9645, allocations: 4 kB / 1.161 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9646, allocations: 5.062 kB / 1.161 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.9648, allocations: 53.12 kB / 1.162 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9648, allocations: 4 kB / 1.162 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.965, allocations: 31.88 kB / 1.162 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.965, allocations: 8 kB / 1.162 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/0.965, allocations: 4 kB / 1.162 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002488/0.9653, allocations: 220.5 kB / 1.162 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.9653, allocations: 48 / 1.162 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.9653, allocations: 8.359 kB / 1.162 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.9654, allocations: 56.91 kB / 1.162 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.9655, allocations: 4.625 kB / 1.162 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.9656, allocations: 19.92 kB / 1.162 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.9656, allocations: 12 kB / 1.162 GB, free: 5.613 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.9657, allocations: 217 kB / 1.162 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.9658, allocations: 16.75 kB / 1.162 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.9659, allocations: 118.6 kB / 1.162 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9659, allocations: 0 / 1.162 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9659, allocations: 9.25 kB / 1.162 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9659, allocations: 0 / 1.162 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.9665, allocations: 0.6276 MB / 1.163 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9665, allocations: 4.031 kB / 1.163 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.9666, allocations: 19.98 kB / 1.163 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9666, allocations: 0 / 1.163 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.9666, allocations: 4 kB / 1.163 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.9666, allocations: 8.5 kB / 1.163 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9666, allocations: 1.375 kB / 1.163 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.9668, allocations: 340.1 kB / 1.163 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.9668, allocations: 101 kB / 1.163 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.9669, allocations: 0 / 1.163 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.967, allocations: 11.98 kB / 1.163 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.9671, allocations: 17.48 kB / 1.163 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.9671, allocations: 4 kB / 1.163 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000112/0.9672, allocations: 170.7 kB / 1.163 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9672, allocations: 0 / 1.163 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004557/0.9677, allocations: 87.94 kB / 1.164 GB, free: 3.738 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.9678, allocations: 123.1 kB / 1.164 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.9682, allocations: 267.6 kB / 1.164 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9682, allocations: 0 / 1.164 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.9683, allocations: 45.41 kB / 1.164 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.9687, allocations: 35.69 kB / 1.164 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.9694, allocations: 471.6 kB / 1.164 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.9697, allocations: 0.7363 MB / 1.165 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.9699, allocations: 70.42 kB / 1.165 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.9699, allocations: 27.36 kB / 1.165 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9699, allocations: 0 / 1.165 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of Templates: time 0.00406/0.974, allocations: 1.555 MB / 1.167 GB, free: 388 kB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)