Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 179.2 kB / 327.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007899/0.0007899, allocations: 99.81 kB / 0.6833 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 9.094 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1721, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002958/0.1751, allocations: 2.586 MB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1773, allocations: 1.672 MB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1775, allocations: 4 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1777, allocations: 31.72 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.1782, allocations: 167.3 kB / 0.9058 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1788, allocations: 209.5 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.1792, allocations: 434.8 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006684/0.1798, allocations: 386.9 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.18, allocations: 107.5 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1803, allocations: 139.5 kB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1804, allocations: 8 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.1808, allocations: 311.4 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1809, allocations: 71.8 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.181, allocations: 125.1 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.1815, allocations: 315.5 kB / 0.9078 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1815, allocations: 0 / 0.9078 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1815, allocations: 0 / 0.9078 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1815, allocations: 0 / 0.9078 GB, free: 56.74 MB / 0.6042 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.0007877/0.1823, allocations: 0.5067 MB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1823, allocations: 12.03 kB / 0.9083 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.1831, allocations: 92.55 kB / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1834, allocations: 259.8 kB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1834, allocations: 12.75 kB / 0.9087 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1834, allocations: 20.36 kB / 0.9087 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.184, allocations: 386.6 kB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.184, allocations: 8 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.184, allocations: 11.97 kB / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.1841, allocations: 24.31 kB / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.1846, allocations: 332.6 kB / 0.9094 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.186, allocations: 1.728 MB / 0.9111 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.1867, allocations: 333.1 kB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1869, allocations: 161.5 kB / 0.9116 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.1871, allocations: 89.09 kB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1871, allocations: 34.56 kB / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.1871, allocations: 4 kB / 0.9117 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001288/0.1884, allocations: 0.5996 MB / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1885, allocations: 93.23 kB / 0.9124 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1886, allocations: 204.4 kB / 0.9126 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1887, allocations: 29.7 kB / 0.9126 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1887, allocations: 159.9 kB / 0.9128 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.1888, allocations: 78.84 kB / 0.9128 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1888, allocations: 8 kB / 0.9128 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.1889, allocations: 330.8 kB / 0.9132 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.1891, allocations: 136.5 kB / 0.9133 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1894, allocations: 215.3 kB / 0.9135 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.1899, allocations: 381.1 kB / 0.9139 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1899, allocations: 4 kB / 0.9139 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006879/0.1906, allocations: 430 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/0.1907, allocations: 166.6 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1907, allocations: 7.938 kB / 0.9144 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.1909, allocations: 44.83 kB / 0.9145 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.1912, allocations: 71.88 kB / 0.9145 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.1923, allocations: 1.489 MB / 0.916 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1925, allocations: 35.81 kB / 0.916 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.1925, allocations: 12 kB / 0.916 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.1925, allocations: 6.75 kB / 0.916 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006023/0.1931, allocations: 379.7 kB / 0.9164 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1932, allocations: 7.938 kB / 0.9164 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.1933, allocations: 49.16 kB / 0.9165 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1936, allocations: 63.89 kB / 0.9165 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/0.1944, allocations: 1.493 MB / 0.918 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1946, allocations: 31.83 kB / 0.918 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1946, allocations: 12 kB / 0.918 GB, free: 45.49 MB / 0.6042 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.0001445/0.1948, allocations: 237.6 kB / 0.9183 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.1948, allocations: 15.81 kB / 0.9183 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.1955, allocations: 370.5 kB / 0.9186 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1955, allocations: 0 / 0.9186 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1955, allocations: 8 kB / 0.9186 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1955, allocations: 3.938 kB / 0.9186 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1967, allocations: 0.9652 MB / 0.9196 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1967, allocations: 4 kB / 0.9196 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.197, allocations: 51.89 kB / 0.9196 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.1971, allocations: 41.05 kB / 0.9197 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1971, allocations: 8 kB / 0.9197 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008418/0.198, allocations: 1.398 MB / 0.921 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.198, allocations: 12.03 kB / 0.9211 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.1986, allocations: 0.5453 MB / 0.9216 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.1987, allocations: 128.7 kB / 0.9217 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1987, allocations: 8 kB / 0.9217 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1989, allocations: 35.97 kB / 0.9217 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.199, allocations: 23.91 kB / 0.9218 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.199, allocations: 4 kB / 0.9218 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001025/0.1991, allocations: 159.5 kB / 0.9219 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1992, allocations: 4 kB / 0.9219 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005499/0.1997, allocations: 107.9 kB / 0.922 GB, free: 41.11 MB / 0.6042 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.0001401/0.1999, allocations: 119.1 kB / 0.9221 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.201, allocations: 0.7433 MB / 0.9229 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.201, allocations: 0 / 0.9229 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.2014, allocations: 283.7 kB / 0.9231 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.2019, allocations: 31.98 kB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.2028, allocations: 0.6914 MB / 0.9238 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.203, allocations: 0.7678 MB / 0.9246 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.2031, allocations: 23.44 kB / 0.9246 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2031, allocations: 0 / 0.9246 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.005607/0.2087, allocations: 4.158 MB / 0.9287 GB, free: 34.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)