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.64/1.64, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001034/0.001034, allocations: 173.3 kB / 326.5 MB, free: 2.672 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.803/1.803, allocations: 205 MB / 0.5766 GB, free: 21 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.0008559/0.0008559, allocations: 90.66 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003561, allocations: 8 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002977/0.1943, allocations: 2.623 MB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1962, allocations: 1.699 MB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.1963, allocations: 4 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1969, allocations: 219.2 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1972, allocations: 175.3 kB / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1976, allocations: 199.6 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1979, allocations: 434.8 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.1982, allocations: 170.2 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1984, allocations: 107.5 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1986, allocations: 135.5 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1986, allocations: 12 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.1989, allocations: 311.4 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.199, allocations: 79.78 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.1991, allocations: 103.4 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1994, allocations: 311.2 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1994, allocations: 0 / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1994, allocations: 4 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1994, allocations: 0 / 0.9031 GB, free: 61.61 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.0006492/0.2001, allocations: 0.5106 MB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2001, allocations: 8.031 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.2007, allocations: 88.56 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.201, allocations: 255.9 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.201, allocations: 16.75 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.201, allocations: 20.36 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.2015, allocations: 382.6 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2015, allocations: 3.938 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2016, allocations: 8 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.2016, allocations: 24.31 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2021, allocations: 340.6 kB / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.2034, allocations: 1.724 MB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.204, allocations: 338 kB / 0.9067 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.2042, allocations: 161.5 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2044, allocations: 85.11 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.2044, allocations: 38.56 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.2044, allocations: 0 / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.00116/0.2056, allocations: 0.614 MB / 0.9076 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2056, allocations: 77.11 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2058, allocations: 208.4 kB / 0.9079 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2058, allocations: 33.7 kB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.2058, allocations: 163.8 kB / 0.9081 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.2059, allocations: 74.91 kB / 0.9081 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2059, allocations: 29.7 kB / 0.9082 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.206, allocations: 330.8 kB / 0.9085 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.2062, allocations: 128.5 kB / 0.9086 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2065, allocations: 223.3 kB / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.2069, allocations: 377.4 kB / 0.9092 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2069, allocations: 4 kB / 0.9092 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006473/0.2076, allocations: 437.8 kB / 0.9096 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.2077, allocations: 166.7 kB / 0.9097 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2077, allocations: 4 kB / 0.9097 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.2079, allocations: 44.81 kB / 0.9098 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.2082, allocations: 67.89 kB / 0.9099 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009533/0.2091, allocations: 1.501 MB / 0.9113 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2093, allocations: 35.97 kB / 0.9114 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2094, allocations: 15.98 kB / 0.9114 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.2094, allocations: 7.938 kB / 0.9114 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005716/0.21, allocations: 363.9 kB / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.21, allocations: 7.938 kB / 0.9117 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2101, allocations: 48.75 kB / 0.9118 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2104, allocations: 71.95 kB / 0.9118 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.2111, allocations: 1.481 MB / 0.9133 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2113, allocations: 32.14 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2113, allocations: 11.98 kB / 0.9133 GB, free: 50.34 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.0001242/0.2115, allocations: 237.6 kB / 0.9136 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.2115, allocations: 19.8 kB / 0.9136 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.2121, allocations: 372 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2121, allocations: 4 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2121, allocations: 0 / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2121, allocations: 7.922 kB / 0.9139 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2133, allocations: 0.9716 MB / 0.9149 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2133, allocations: 4 kB / 0.9149 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.2135, allocations: 47.95 kB / 0.9149 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.907e-05/0.2136, allocations: 36.83 kB / 0.915 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2136, allocations: 11.98 kB / 0.915 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/0.2144, allocations: 1.406 MB / 0.9164 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2144, allocations: 7.875 kB / 0.9164 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2149, allocations: 0.5406 MB / 0.9169 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.215, allocations: 128.7 kB / 0.917 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.215, allocations: 8 kB / 0.917 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2153, allocations: 27.97 kB / 0.9171 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.2153, allocations: 19.97 kB / 0.9171 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2154, allocations: 16.08 kB / 0.9171 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.703e-05/0.2155, allocations: 155.5 kB / 0.9172 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2155, allocations: 0 / 0.9172 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005138/0.216, allocations: 104 kB / 0.9173 GB, free: 45.96 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.0001189/0.2161, allocations: 115.2 kB / 0.9174 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.2171, allocations: 0.7557 MB / 0.9182 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2172, allocations: 0 / 0.9182 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.2175, allocations: 279 kB / 0.9185 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.2179, allocations: 38.05 kB / 0.9185 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.2187, allocations: 0.6767 MB / 0.9191 GB, free: 44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2189, allocations: 0.7678 MB / 0.9199 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.219, allocations: 23.44 kB / 0.9199 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.219, allocations: 0 / 0.9199 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.004572/0.2236, allocations: 4.157 MB / 0.924 GB, free: 39.04 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)