Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 100.8 kB / 16.29 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 181.8 kB / 17.22 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.026/2.026, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 68.38 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3212, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004848/0.3261, allocations: 2.889 MB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.561/0.8871, allocations: 1.69 MB / 0.7885 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.8875, allocations: 3.156 kB / 0.7886 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.8884, allocations: 228.8 kB / 0.7888 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.889, allocations: 178.2 kB / 0.7889 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.8897, allocations: 228 kB / 0.7892 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.8901, allocations: 314.8 kB / 0.7895 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.8905, allocations: 182.3 kB / 0.7896 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.8908, allocations: 125.8 kB / 0.7898 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.8911, allocations: 145.1 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.8912, allocations: 23.59 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/0.8917, allocations: 258.1 kB / 0.7902 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.8918, allocations: 93.17 kB / 0.7902 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.8919, allocations: 111.3 kB / 0.7904 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.8925, allocations: 413.3 kB / 0.7907 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.8925, allocations: 0 / 0.7907 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8925, allocations: 0 / 0.7907 GB, free: 46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.8925, allocations: 2.656 kB / 0.7908 GB, free: 46 MB / 0.6544 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.001012/0.8936, allocations: 0.5393 MB / 0.7913 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8936, allocations: 8.938 kB / 0.7913 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007175/0.8943, allocations: 93.23 kB / 0.7914 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.8947, allocations: 260.7 kB / 0.7916 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.8947, allocations: 14.12 kB / 0.7916 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.8948, allocations: 20.25 kB / 0.7917 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.8954, allocations: 382.1 kB / 0.792 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8954, allocations: 6.844 kB / 0.792 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.8954, allocations: 9.906 kB / 0.792 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.8955, allocations: 22.67 kB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.896, allocations: 324 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.8976, allocations: 1.726 MB / 0.7941 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.8983, allocations: 329.9 kB / 0.7944 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.8985, allocations: 151.7 kB / 0.7945 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.8987, allocations: 91.8 kB / 0.7946 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.8987, allocations: 34.56 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/0.8987, allocations: 2.875 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001247/0.9, allocations: 0.5912 MB / 0.7952 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9, allocations: 86.34 kB / 0.7953 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.9002, allocations: 198.8 kB / 0.7955 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.9002, allocations: 32.55 kB / 0.7955 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.9003, allocations: 162.2 kB / 0.7957 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.9003, allocations: 72.97 kB / 0.7957 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.9004, allocations: 56.28 kB / 0.7958 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.9005, allocations: 336 kB / 0.7961 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.9008, allocations: 131.3 kB / 0.7962 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.901, allocations: 211.3 kB / 0.7964 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.9015, allocations: 372 kB / 0.7968 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9015, allocations: 0 / 0.7968 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006988/0.9022, allocations: 434.8 kB / 0.7972 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9023, allocations: 6.938 kB / 0.7972 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9023, allocations: 3.469 kB / 0.7972 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.9025, allocations: 39.58 kB / 0.7973 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.9028, allocations: 68.61 kB / 0.7973 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.9041, allocations: 1.607 MB / 0.7989 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.9043, allocations: 38.28 kB / 0.7989 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.9044, allocations: 13.34 kB / 0.7989 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/0.9047, allocations: 235 kB / 0.7992 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002576/0.905, allocations: 210.2 kB / 0.7994 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004652/0.9055, allocations: 340 kB / 0.7997 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.9055, allocations: 4 kB / 0.7997 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006741/0.9062, allocations: 403 kB / 0.8001 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9062, allocations: 10.72 kB / 0.8001 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9062, allocations: 6.875 kB / 0.8001 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.9063, allocations: 39.25 kB / 0.8001 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.9066, allocations: 69.75 kB / 0.8002 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.9077, allocations: 1.615 MB / 0.8018 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.9079, allocations: 34.08 kB / 0.8018 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.9079, allocations: 15.53 kB / 0.8018 GB, free: 39.45 MB / 0.6544 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.0001279/0.9081, allocations: 197.7 kB / 0.802 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.9081, allocations: 21.77 kB / 0.802 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.9089, allocations: 353 kB / 0.8024 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9089, allocations: 1.344 kB / 0.8024 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9089, allocations: 2.344 kB / 0.8024 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.9089, allocations: 7.328 kB / 0.8024 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.9104, allocations: 0.9625 MB / 0.8033 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9104, allocations: 2.391 kB / 0.8033 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.9106, allocations: 54.81 kB / 0.8034 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.9108, allocations: 36.48 kB / 0.8034 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.9108, allocations: 8.969 kB / 0.8034 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009995/0.9118, allocations: 1.515 MB / 0.8049 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9118, allocations: 3.594 kB / 0.8049 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.9125, allocations: 0.5291 MB / 0.8054 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.9126, allocations: 132.8 kB / 0.8055 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.9127, allocations: 6.562 kB / 0.8056 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.9129, allocations: 21.94 kB / 0.8056 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.913, allocations: 22.97 kB / 0.8056 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.913, allocations: 8.469 kB / 0.8056 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001471/0.9132, allocations: 155.7 kB / 0.8058 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9132, allocations: 7.219 kB / 0.8058 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006729/0.9138, allocations: 103.5 kB / 0.8059 GB, free: 36.41 MB / 0.6544 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.000178/0.914, allocations: 108.1 kB / 0.806 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.9157, allocations: 0.737 MB / 0.8067 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9157, allocations: 1.25 kB / 0.8067 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.9162, allocations: 269.5 kB / 0.8069 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.9168, allocations: 41.44 kB / 0.807 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.9182, allocations: 0.5574 MB / 0.8075 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.9186, allocations: 0.7684 MB / 0.8083 GB, free: 34.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.9189, allocations: 91.03 kB / 0.8084 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.9191, allocations: 25.55 kB / 0.8084 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/0.9191, allocations: 0 / 0.8084 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01074/0.9298, allocations: 3.282 MB / 0.8116 GB, free: 34.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)