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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.00177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002126/0.002126, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.709/1.709, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.669/1.669, allocations: 251.6 MB / 0.5088 GB, free: 3.352 MB / 414.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.001416/0.001416, allocations: 59.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6889, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00595/0.6949, allocations: 2.941 MB / 0.7267 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.6982, allocations: 1.707 MB / 0.7283 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.6984, allocations: 0 / 0.7283 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.6994, allocations: 219.2 kB / 0.7286 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.6999, allocations: 159.4 kB / 0.7287 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.7006, allocations: 211.5 kB / 0.7289 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.7011, allocations: 430.8 kB / 0.7293 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.7016, allocations: 180.1 kB / 0.7295 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.7018, allocations: 107.6 kB / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.7022, allocations: 151.5 kB / 0.7297 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.7022, allocations: 16 kB / 0.7298 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.7028, allocations: 307.4 kB / 0.73 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.703, allocations: 87.72 kB / 0.7301 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.7031, allocations: 107.4 kB / 0.7302 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.7038, allocations: 422.7 kB / 0.7306 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.7038, allocations: 3.984 kB / 0.7306 GB, free: 6.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7038, allocations: 0 / 0.7306 GB, free: 6.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7038, allocations: 4 kB / 0.7306 GB, free: 6.121 MB / 0.545 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.001232/0.705, allocations: 0.5418 MB / 0.7312 GB, free: 5.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7051, allocations: 11.97 kB / 0.7312 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.7059, allocations: 92.55 kB / 0.7313 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.7062, allocations: 259.9 kB / 0.7315 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.7062, allocations: 16.75 kB / 0.7315 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.7063, allocations: 24.36 kB / 0.7316 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.707, allocations: 374.6 kB / 0.7319 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.707, allocations: 0 / 0.7319 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.707, allocations: 8 kB / 0.7319 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.7071, allocations: 28.3 kB / 0.732 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.7077, allocations: 320.7 kB / 0.7323 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.7097, allocations: 1.72 MB / 0.7339 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.7104, allocations: 337 kB / 0.7343 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.7107, allocations: 161.5 kB / 0.7344 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.7108, allocations: 81.11 kB / 0.7345 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.7109, allocations: 46.53 kB / 0.7345 GB, free: 1.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.7109, allocations: 0 / 0.7345 GB, free: 1.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001525/0.7124, allocations: 0.5934 MB / 0.7351 GB, free: 1.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.7125, allocations: 81.28 kB / 0.7352 GB, free: 1.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.7127, allocations: 207.7 kB / 0.7354 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.7128, allocations: 29.7 kB / 0.7354 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.7129, allocations: 159.9 kB / 0.7356 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.713, allocations: 74.86 kB / 0.7356 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.7131, allocations: 57.97 kB / 0.7357 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7132, allocations: 334.8 kB / 0.736 GB, free: 236 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.7135, allocations: 133.9 kB / 0.7361 GB, free: 100 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.7138, allocations: 207.3 kB / 0.7363 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.7144, allocations: 367 kB / 0.7367 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7144, allocations: 4 kB / 0.7367 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007671/0.7152, allocations: 427.2 kB / 0.7371 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7152, allocations: 8 kB / 0.7371 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7152, allocations: 4 kB / 0.7371 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.7155, allocations: 40.77 kB / 0.7372 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.7158, allocations: 71.88 kB / 0.7372 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.7175, allocations: 1.49 MB / 0.7387 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.7178, allocations: 35.88 kB / 0.7387 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.7178, allocations: 20.06 kB / 0.7387 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003586/0.7182, allocations: 236 kB / 0.739 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002814/0.7185, allocations: 214.9 kB / 0.7392 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005328/0.719, allocations: 342.2 kB / 0.7395 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.719, allocations: 3.938 kB / 0.7395 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007592/0.7198, allocations: 409.8 kB / 0.7399 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.7198, allocations: 4 kB / 0.7399 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7198, allocations: 4 kB / 0.7399 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.72, allocations: 49.19 kB / 0.7399 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.7202, allocations: 63.89 kB / 0.74 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.7216, allocations: 1.493 MB / 0.7415 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.7219, allocations: 31.81 kB / 0.7415 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.7219, allocations: 12 kB / 0.7415 GB, free: 10.15 MB / 0.5606 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.0002641/0.7222, allocations: 196.1 kB / 0.7417 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.7223, allocations: 19.72 kB / 0.7417 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/0.723, allocations: 352.2 kB / 0.742 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.723, allocations: 7.938 kB / 0.742 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.723, allocations: 0 / 0.742 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.723, allocations: 7.984 kB / 0.7421 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7245, allocations: 0.9637 MB / 0.743 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7246, allocations: 0 / 0.743 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.7248, allocations: 56.11 kB / 0.743 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.7249, allocations: 32.83 kB / 0.7431 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.725, allocations: 8 kB / 0.7431 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.7262, allocations: 1.413 MB / 0.7445 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7262, allocations: 4 kB / 0.7445 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.727, allocations: 0.5314 MB / 0.745 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7271, allocations: 120.8 kB / 0.7451 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.7271, allocations: 8 kB / 0.7451 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.7274, allocations: 23.97 kB / 0.7451 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.7275, allocations: 19.97 kB / 0.7452 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.7275, allocations: 15.94 kB / 0.7452 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001891/0.7277, allocations: 154.8 kB / 0.7453 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7277, allocations: 0 / 0.7453 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006898/0.7284, allocations: 104 kB / 0.7454 GB, free: 5.848 MB / 0.5606 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.0002657/0.7287, allocations: 124.7 kB / 0.7455 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.7302, allocations: 0.7392 MB / 0.7463 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7302, allocations: 0 / 0.7463 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.7306, allocations: 278.4 kB / 0.7465 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.7311, allocations: 31.98 kB / 0.7466 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7324, allocations: 0.6562 MB / 0.7472 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.7329, allocations: 0.7639 MB / 0.7479 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.7331, allocations: 89.86 kB / 0.748 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.7332, allocations: 19.44 kB / 0.748 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.7332, allocations: 4 kB / 0.748 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of Templates: time 0.007853/0.7411, allocations: 3.125 MB / 0.7511 GB, free: 15.92 MB / 0.5762 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)