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.001051/0.001051, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001652/0.001652, allocations: 165 kB / 24.25 MB, free: 208 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.967/0.967, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.876/1.876, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.463e-06/1.463e-06, allocations: 0 / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.544e-05, allocations: 2.844 kB / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002666/0.002681, allocations: 2.441 MB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004329, allocations: 1.338 MB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004439, allocations: 9.344 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.004798, allocations: 83.52 kB / 0.7791 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.005084, allocations: 173.7 kB / 0.7793 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.005393, allocations: 187.4 kB / 0.7795 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.005659, allocations: 334.6 kB / 0.7798 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.005872, allocations: 159 kB / 0.7799 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.006093, allocations: 191.5 kB / 0.7801 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.006516, allocations: 135.7 kB / 0.7802 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.006546, allocations: 27.94 kB / 0.7803 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.006773, allocations: 183.6 kB / 0.7804 GB, free: 104 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.006849, allocations: 95.72 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.006921, allocations: 87.81 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.00722, allocations: 303 kB / 0.7809 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.007222, allocations: 0.5 kB / 0.7809 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.007222, allocations: 0.9062 kB / 0.7809 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.007226, allocations: 4 kB / 0.7809 GB, free: 15.62 MB / 0.7448 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.0004487/0.007674, allocations: 437.1 kB / 0.7813 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.007703, allocations: 13.34 kB / 0.7813 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.008188, allocations: 137.4 kB / 0.7815 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.008389, allocations: 197.6 kB / 0.7817 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.0084, allocations: 13.28 kB / 0.7817 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.008433, allocations: 25.17 kB / 0.7817 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.008729, allocations: 290.2 kB / 0.782 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.00874, allocations: 4.141 kB / 0.782 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.00876, allocations: 8.375 kB / 0.782 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.008792, allocations: 32.23 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.008933, allocations: 94.39 kB / 0.7821 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.009781, allocations: 1.141 MB / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.01003, allocations: 198.7 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.01008, allocations: 46.28 kB / 0.7835 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/0.01014, allocations: 21.27 kB / 0.7835 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.01016, allocations: 34.56 kB / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.01016, allocations: 0 / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004352/0.0106, allocations: 197.1 kB / 0.7837 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01063, allocations: 85.05 kB / 0.7838 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.01075, allocations: 196.8 kB / 0.784 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.01076, allocations: 25.7 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.01082, allocations: 164.7 kB / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.01086, allocations: 71.38 kB / 0.7842 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.01094, allocations: 62.47 kB / 0.7843 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.01101, allocations: 327.5 kB / 0.7846 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.01107, allocations: 37.97 kB / 0.7846 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.01115, allocations: 117 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.01131, allocations: 190.4 kB / 0.7849 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01131, allocations: 4 kB / 0.7849 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002389/0.01155, allocations: 208.4 kB / 0.7851 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01156, allocations: 8 kB / 0.7851 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01156, allocations: 9.312 kB / 0.7851 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.0117, allocations: 41.19 kB / 0.7852 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.01189, allocations: 63.89 kB / 0.7852 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000747/0.01264, allocations: 1.289 MB / 0.7865 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01276, allocations: 25.48 kB / 0.7865 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01277, allocations: 11.98 kB / 0.7865 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.219e-05/0.01287, allocations: 123.5 kB / 0.7867 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.249e-05/0.01295, allocations: 118.8 kB / 0.7868 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001454/0.01309, allocations: 182.9 kB / 0.7869 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-06/0.01309, allocations: 0 / 0.7869 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004987/0.01359, allocations: 204.3 kB / 0.7871 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.0136, allocations: 8 kB / 0.7871 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.0136, allocations: 1.406 kB / 0.7871 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.01371, allocations: 40.88 kB / 0.7872 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.01387, allocations: 67.89 kB / 0.7872 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006204/0.01449, allocations: 1.286 MB / 0.7885 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.0146, allocations: 32.88 kB / 0.7885 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01461, allocations: 4 kB / 0.7885 GB, free: 7.25 MB / 0.7448 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 8.674e-05/0.0147, allocations: 198.7 kB / 0.7887 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.01474, allocations: 23.92 kB / 0.7887 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.01495, allocations: 168.1 kB / 0.7889 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01495, allocations: 3.125 kB / 0.7889 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01495, allocations: 4 kB / 0.7889 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01495, allocations: 0 / 0.7889 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.01549, allocations: 0.6096 MB / 0.7895 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01549, allocations: 0 / 0.7895 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01559, allocations: 40.78 kB / 0.7896 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.01568, allocations: 41.06 kB / 0.7896 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01569, allocations: 8.438 kB / 0.7896 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005496/0.01624, allocations: 1.24 MB / 0.7908 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01624, allocations: 4 kB / 0.7908 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.0165, allocations: 452.3 kB / 0.7912 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.01655, allocations: 44.42 kB / 0.7913 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01656, allocations: 5.906 kB / 0.7913 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01667, allocations: 12 kB / 0.7913 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.01671, allocations: 27.89 kB / 0.7913 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01672, allocations: 4 kB / 0.7913 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.01677, allocations: 61.67 kB / 0.7914 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01677, allocations: 1.062 kB / 0.7914 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003176/0.01709, allocations: 108 kB / 0.7915 GB, free: 4 MB / 0.7448 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 9.197e-05/0.01718, allocations: 97.33 kB / 0.7916 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.01769, allocations: 494 kB / 0.7921 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.0177, allocations: 4.594 kB / 0.7921 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.01785, allocations: 182 kB / 0.7922 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01813, allocations: 39.22 kB / 0.7923 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01882, allocations: 0.5085 MB / 0.7928 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.01889, allocations: 106.4 kB / 0.7929 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.01901, allocations: 41.31 kB / 0.7929 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.01912, allocations: 83.36 kB / 0.793 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01912, allocations: 0.9062 kB / 0.793 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.005537/0.02466, allocations: 3.848 MB / 0.7968 GB, free: 14.62 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.0505008259788156]