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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001429/0.001429, allocations: 178.4 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001007, allocations: 99.67 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3527, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.006045/0.3589, allocations: 2.94 MB / 0.9851 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.3622, allocations: 1.703 MB / 0.9868 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.3625, allocations: 4 kB / 0.9868 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3636, allocations: 219.2 kB / 0.987 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.3643, allocations: 171.3 kB / 0.9871 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.3651, allocations: 199.6 kB / 0.9873 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006961/0.3658, allocations: 434.8 kB / 0.9877 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.3663, allocations: 186.5 kB / 0.9879 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.3667, allocations: 111.5 kB / 0.988 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.3671, allocations: 147.5 kB / 0.9882 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.3672, allocations: 16 kB / 0.9882 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.3678, allocations: 307.4 kB / 0.9885 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.368, allocations: 79.78 kB / 0.9885 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3681, allocations: 115.3 kB / 0.9887 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008005/0.3689, allocations: 422.7 kB / 0.9891 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.369, allocations: 4 kB / 0.9891 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/0.369, allocations: 0 / 0.9891 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.369, allocations: 0 / 0.9891 GB, free: 3.316 MB / 0.7136 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.001222/0.3702, allocations: 0.5419 MB / 0.9896 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.3703, allocations: 8.031 kB / 0.9896 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.3711, allocations: 92.56 kB / 0.9897 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.3716, allocations: 263.8 kB / 0.9899 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3716, allocations: 16.73 kB / 0.99 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.3717, allocations: 16.38 kB / 0.99 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.3724, allocations: 382.5 kB / 0.9903 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.3724, allocations: 0 / 0.9903 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3725, allocations: 8 kB / 0.9903 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.3725, allocations: 28.3 kB / 0.9904 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/0.3732, allocations: 316.7 kB / 0.9907 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.3752, allocations: 1.724 MB / 0.9924 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.3759, allocations: 337.1 kB / 0.9927 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3762, allocations: 149.6 kB / 0.9928 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.3764, allocations: 89.08 kB / 0.9929 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.3764, allocations: 42.56 kB / 0.9929 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.3765, allocations: 0 / 0.9929 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.001399/0.3779, allocations: 0.59 MB / 0.9935 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3779, allocations: 89.22 kB / 0.9936 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3781, allocations: 208.3 kB / 0.9938 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3782, allocations: 33.64 kB / 0.9938 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3783, allocations: 155.9 kB / 0.994 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.3784, allocations: 75 kB / 0.9941 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3785, allocations: 53.89 kB / 0.9941 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3786, allocations: 334.8 kB / 0.9944 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3789, allocations: 133.9 kB / 0.9946 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3792, allocations: 215.3 kB / 0.9948 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.3798, allocations: 368.7 kB / 0.9951 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3798, allocations: 4 kB / 0.9951 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008298/0.3806, allocations: 425.8 kB / 0.9955 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3807, allocations: 8 kB / 0.9955 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3807, allocations: 4 kB / 0.9955 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.381, allocations: 36.83 kB / 0.9956 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.3813, allocations: 76.22 kB / 0.9956 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.3829, allocations: 1.489 MB / 0.9971 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3832, allocations: 35.97 kB / 0.9971 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3832, allocations: 16 kB / 0.9971 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003557/0.3836, allocations: 232 kB / 0.9974 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002867/0.3839, allocations: 207.1 kB / 0.9976 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005616/0.3845, allocations: 353 kB / 0.9979 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.3845, allocations: 0 / 0.9979 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007543/0.3852, allocations: 409.8 kB / 0.9983 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3853, allocations: 4 kB / 0.9983 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3853, allocations: 4.375 kB / 0.9983 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.3854, allocations: 48.98 kB / 0.9983 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3857, allocations: 67.89 kB / 0.9984 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.387, allocations: 1.489 MB / 0.9999 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3873, allocations: 31.81 kB / 0.9999 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.3873, allocations: 16 kB / 0.9999 GB, free: 7.359 MB / 0.7292 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.0001772/0.3875, allocations: 200.1 kB / 1 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.3876, allocations: 15.81 kB / 1 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.3883, allocations: 357.8 kB / 1 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3883, allocations: 7.938 kB / 1 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3883, allocations: 7.922 kB / 1 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3883, allocations: 4 kB / 1 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.3899, allocations: 0.9509 MB / 1.001 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.39, allocations: 4.219 kB / 1.001 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.3902, allocations: 59.89 kB / 1.001 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.3904, allocations: 32.83 kB / 1.001 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.3904, allocations: 12.06 kB / 1.002 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.3916, allocations: 1.417 MB / 1.003 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3917, allocations: 4 kB / 1.003 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.3933, allocations: 1.263 MB / 1.004 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.3935, allocations: 128.7 kB / 1.004 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3936, allocations: 8 kB / 1.004 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3938, allocations: 19.97 kB / 1.004 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.3939, allocations: 19.92 kB / 1.004 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3939, allocations: 8 kB / 1.004 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001836/0.3941, allocations: 159.7 kB / 1.004 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3941, allocations: 3.938 kB / 1.004 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000946/0.3951, allocations: 108 kB / 1.005 GB, free: 2.27 MB / 0.7292 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.0002394/0.3954, allocations: 103.2 kB / 1.005 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.397, allocations: 0.7457 MB / 1.005 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.397, allocations: 0 / 1.005 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.3975, allocations: 267.7 kB / 1.006 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.398, allocations: 42 kB / 1.006 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3994, allocations: 0.8203 MB / 1.006 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.4, allocations: 0.7756 MB / 1.007 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.4002, allocations: 97.92 kB / 1.007 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.4003, allocations: 27.42 kB / 1.007 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.4003, allocations: 0 / 1.007 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.007526/0.4079, allocations: 3.232 MB / 1.011 GB, free: 12.05 MB / 0.7448 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)