Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 84.8 kB / 20.75 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 169 kB / 24.17 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.2 MB / 204.6 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.874/1.874, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.448e-05, allocations: 7.703 kB / 0.7751 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003464/0.003489, allocations: 2.396 MB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.005592, allocations: 1.339 MB / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.005735, allocations: 7.938 kB / 0.7788 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.006191, allocations: 87.55 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.006614, allocations: 174.9 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.00708, allocations: 187.4 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.007499, allocations: 338.8 kB / 0.7795 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.007764, allocations: 162.6 kB / 0.7797 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.008065, allocations: 179.6 kB / 0.7799 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.008322, allocations: 147.6 kB / 0.78 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.008355, allocations: 20 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.008649, allocations: 175.6 kB / 0.7802 GB, free: 296 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.008742, allocations: 95.72 kB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.008827, allocations: 83.81 kB / 0.7804 GB, free: 116 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.009501, allocations: 307 kB / 0.7807 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.009503, allocations: 0 / 0.7807 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.272e-06/0.009505, allocations: 2.75 kB / 0.7807 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.00951, allocations: 0 / 0.7807 GB, free: 15.81 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005658/0.01008, allocations: 439.9 kB / 0.7811 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.01011, allocations: 13.34 kB / 0.7811 GB, free: 15.34 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.01079, allocations: 142.1 kB / 0.7812 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.01105, allocations: 185.4 kB / 0.7814 GB, free: 15 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.01107, allocations: 13.91 kB / 0.7814 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.01111, allocations: 28.34 kB / 0.7814 GB, free: 14.96 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.01149, allocations: 285.5 kB / 0.7817 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01151, allocations: 8.141 kB / 0.7817 GB, free: 14.63 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.01153, allocations: 8.969 kB / 0.7817 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.01158, allocations: 36.7 kB / 0.7818 GB, free: 14.59 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.01176, allocations: 94.61 kB / 0.7819 GB, free: 14.5 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01294, allocations: 1.144 MB / 0.783 GB, free: 13.31 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.01327, allocations: 208.4 kB / 0.7832 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.01334, allocations: 47.36 kB / 0.7832 GB, free: 13.04 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.01342, allocations: 8 kB / 0.7832 GB, free: 13.03 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.01344, allocations: 38.55 kB / 0.7833 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.01344, allocations: 1.062 kB / 0.7833 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of matching and sorting (n=21): time 0.0005846/0.01403, allocations: 193.5 kB / 0.7834 GB, free: 12.79 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.01406, allocations: 86.2 kB / 0.7835 GB, free: 12.68 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.01421, allocations: 199.8 kB / 0.7837 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01423, allocations: 26.23 kB / 0.7837 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.01431, allocations: 165 kB / 0.7839 GB, free: 12.28 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.01436, allocations: 71.38 kB / 0.784 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.01445, allocations: 57.94 kB / 0.784 GB, free: 12.15 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.01453, allocations: 327.6 kB / 0.7843 GB, free: 11.82 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.0146, allocations: 37.97 kB / 0.7844 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.01471, allocations: 116 kB / 0.7845 GB, free: 11.63 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.01493, allocations: 187.1 kB / 0.7847 GB, free: 11.42 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01493, allocations: 0 / 0.7847 GB, free: 11.42 MB / 0.7449 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000337/0.01527, allocations: 213.5 kB / 0.7849 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01528, allocations: 8.531 kB / 0.7849 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01529, allocations: 4.75 kB / 0.7849 GB, free: 11.19 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.01546, allocations: 46.42 kB / 0.7849 GB, free: 11.14 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.01566, allocations: 59.89 kB / 0.785 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/0.01654, allocations: 1.288 MB / 0.7862 GB, free: 9.699 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.0167, allocations: 25.5 kB / 0.7863 GB, free: 9.676 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01672, allocations: 8 kB / 0.7863 GB, free: 9.668 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001179/0.01684, allocations: 123.5 kB / 0.7864 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001086/0.01695, allocations: 120.5 kB / 0.7865 GB, free: 9.391 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001932/0.01714, allocations: 179.7 kB / 0.7867 GB, free: 9.184 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.01715, allocations: 8.922 kB / 0.7867 GB, free: 9.176 MB / 0.7449 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003073/0.01745, allocations: 201.7 kB / 0.7869 GB, free: 8.973 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.01746, allocations: 9.656 kB / 0.7869 GB, free: 8.965 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01747, allocations: 4 kB / 0.7869 GB, free: 8.961 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.01759, allocations: 45.33 kB / 0.7869 GB, free: 8.914 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01778, allocations: 55.91 kB / 0.787 GB, free: 8.859 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.01883, allocations: 1.285 MB / 0.7882 GB, free: 7.477 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.01898, allocations: 24.7 kB / 0.7883 GB, free: 7.453 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.019, allocations: 13.86 kB / 0.7883 GB, free: 7.441 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.01911, allocations: 196.1 kB / 0.7885 GB, free: 7.242 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.01917, allocations: 23.98 kB / 0.7885 GB, free: 7.219 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01943, allocations: 166.6 kB / 0.7886 GB, free: 7.043 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01943, allocations: 4 kB / 0.7886 GB, free: 7.039 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01943, allocations: 0 / 0.7886 GB, free: 7.039 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01944, allocations: 3.984 kB / 0.7887 GB, free: 7.035 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.0201, allocations: 0.6119 MB / 0.7892 GB, free: 6.371 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.0201, allocations: 4 kB / 0.7893 GB, free: 6.367 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.02019, allocations: 35.98 kB / 0.7893 GB, free: 6.332 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.469e-05/0.02029, allocations: 36.78 kB / 0.7893 GB, free: 6.293 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.0203, allocations: 11.98 kB / 0.7893 GB, free: 6.281 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005943/0.0209, allocations: 1.232 MB / 0.7905 GB, free: 4.953 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.0209, allocations: 0 / 0.7905 GB, free: 4.953 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.02124, allocations: 460.3 kB / 0.791 GB, free: 4.457 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.0213, allocations: 35.78 kB / 0.791 GB, free: 4.422 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.02133, allocations: 10.03 kB / 0.791 GB, free: 4.414 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.02148, allocations: 11.98 kB / 0.791 GB, free: 4.402 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.02154, allocations: 23.91 kB / 0.7911 GB, free: 4.379 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.02155, allocations: 8 kB / 0.7911 GB, free: 4.371 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 7.093e-05/0.02163, allocations: 61.66 kB / 0.7911 GB, free: 4.309 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.02163, allocations: 0.6562 kB / 0.7911 GB, free: 4.309 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000528/0.02215, allocations: 112.7 kB / 0.7912 GB, free: 4.199 MB / 0.7449 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.02229, allocations: 93.34 kB / 0.7913 GB, free: 4.102 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0006606/0.02295, allocations: 494.8 kB / 0.7918 GB, free: 3.594 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.02296, allocations: 8 kB / 0.7918 GB, free: 3.586 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.02313, allocations: 177.4 kB / 0.792 GB, free: 3.398 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.02341, allocations: 39.92 kB / 0.792 GB, free: 3.363 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.02415, allocations: 0.5152 MB / 0.7925 GB, free: 2.793 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.02422, allocations: 104.5 kB / 0.7926 GB, free: 2.668 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.000114/0.02433, allocations: 38.72 kB / 0.7926 GB, free: 2.641 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.02444, allocations: 79.36 kB / 0.7927 GB, free: 2.562 MB / 0.7449 GB Notification: Performance of SimCode: time 6.21e-07/0.02444, allocations: 0.8125 kB / 0.7927 GB, free: 2.562 MB / 0.7449 GB Notification: Performance of Templates: time 0.005855/0.03029, allocations: 3.854 MB / 0.7965 GB, free: 14.84 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.021813087631017]