Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.001281, allocations: 186.3 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009528/0.0009527, allocations: 93.03 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006248/0.0006248, allocations: 11.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3648, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004252/0.3691, allocations: 2.49 MB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.3721, allocations: 1.568 MB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.3725, allocations: 7.938 kB / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.3728, allocations: 31.78 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.3735, allocations: 135.4 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.3743, allocations: 171.6 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.3749, allocations: 346.9 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.376, allocations: 367 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.3763, allocations: 95.62 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.3768, allocations: 151.4 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.3768, allocations: 12 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.3774, allocations: 135.8 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3775, allocations: 75.78 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3777, allocations: 65.58 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.3782, allocations: 303.5 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3782, allocations: 0 / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3783, allocations: 0 / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3783, allocations: 0 / 0.9854 GB, free: 21.7 MB / 0.6198 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.0009461/0.3792, allocations: 0.5027 MB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.3793, allocations: 16.03 kB / 0.9859 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.3802, allocations: 95.58 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.3807, allocations: 251.9 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.3807, allocations: 16.36 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.3808, allocations: 19.91 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.3817, allocations: 382 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.3818, allocations: 0 / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.3818, allocations: 12 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-05/0.3819, allocations: 20.31 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.3827, allocations: 336.6 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3849, allocations: 1.732 MB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.3859, allocations: 341.1 kB / 0.989 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3862, allocations: 153.6 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.3864, allocations: 93.09 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3865, allocations: 34.56 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.3865, allocations: 0 / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001728/0.3882, allocations: 0.6049 MB / 0.9898 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3883, allocations: 85.11 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3885, allocations: 200.4 kB / 0.9901 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3886, allocations: 33.7 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.3886, allocations: 159.9 kB / 0.9903 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.3887, allocations: 78.94 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.3887, allocations: 4 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.3888, allocations: 334.8 kB / 0.9907 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3892, allocations: 132.5 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.3895, allocations: 215.5 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3899, allocations: 166.3 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3899, allocations: 3.984 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000942/0.3909, allocations: 431 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.391, allocations: 182.7 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.391, allocations: 0 / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.3913, allocations: 48.8 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.3917, allocations: 75.88 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3932, allocations: 1.481 MB / 0.9933 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3935, allocations: 39.88 kB / 0.9934 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3935, allocations: 12 kB / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3936, allocations: 4 kB / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008319/0.3944, allocations: 372.3 kB / 0.9937 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3944, allocations: 4 kB / 0.9937 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.3946, allocations: 44.77 kB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3949, allocations: 67.89 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3962, allocations: 1.493 MB / 0.9953 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3964, allocations: 31.97 kB / 0.9953 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3965, allocations: 12 kB / 0.9953 GB, free: 10.72 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.3967, allocations: 233 kB / 0.9956 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.3968, allocations: 23.72 kB / 0.9956 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/0.3976, allocations: 369 kB / 0.9959 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3976, allocations: 4 kB / 0.9959 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3977, allocations: 0 / 0.9959 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3977, allocations: 0 / 0.9959 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.3994, allocations: 0.9662 MB / 0.9969 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3994, allocations: 4 kB / 0.9969 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3997, allocations: 55.89 kB / 0.9969 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.3998, allocations: 36.83 kB / 0.997 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3999, allocations: 8 kB / 0.997 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/0.4009, allocations: 1.409 MB / 0.9984 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4009, allocations: 7.984 kB / 0.9984 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.4017, allocations: 0.541 MB / 0.9989 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4019, allocations: 132.7 kB / 0.999 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.4019, allocations: 12 kB / 0.999 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.4023, allocations: 19.97 kB / 0.9991 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.4024, allocations: 23.92 kB / 0.9991 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.4024, allocations: 12 kB / 0.9991 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001722/0.4026, allocations: 159.5 kB / 0.9992 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4026, allocations: 0 / 0.9992 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008375/0.4034, allocations: 104 kB / 0.9993 GB, free: 6.336 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.4037, allocations: 107.2 kB / 0.9994 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.4051, allocations: 0.7401 MB / 1 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4052, allocations: 0 / 1 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.4056, allocations: 279 kB / 1 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.4063, allocations: 46.5 kB / 1 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4074, allocations: 0.6596 MB / 1.001 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.4077, allocations: 0.7717 MB / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000222/0.4079, allocations: 81.88 kB / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.408, allocations: 23.42 kB / 1.002 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.408, allocations: 0 / 1.002 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of Templates: time 0.006245/0.4143, allocations: 2.983 MB / 1.005 GB, free: 0.5469 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)