Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001036, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 112.5 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3869/0.3869, allocations: 78.52 MB / 418.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.91 kB / 497.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2623, allocations: 68.17 MB / 0.5524 GB, free: 19.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004562/0.2669, allocations: 6.371 MB / 0.5586 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.2696, allocations: 1.833 MB / 0.5604 GB, free: 11.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.27, allocations: 15.94 kB / 0.5605 GB, free: 11.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.2704, allocations: 166.9 kB / 0.5606 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.2715, allocations: 0.6202 MB / 0.5612 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.2724, allocations: 0.548 MB / 0.5618 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007535/0.2731, allocations: 1.284 MB / 0.563 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.2734, allocations: 252.1 kB / 0.5632 GB, free: 8.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.2738, allocations: 0.5209 MB / 0.5638 GB, free: 8.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.2742, allocations: 0.661 MB / 0.5644 GB, free: 7.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2744, allocations: 64 kB / 0.5645 GB, free: 7.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.2747, allocations: 187.9 kB / 0.5646 GB, free: 7.324 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2748, allocations: 238.8 kB / 0.5649 GB, free: 7.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.2751, allocations: 0.5435 MB / 0.5654 GB, free: 6.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.2759, allocations: 1.384 MB / 0.5668 GB, free: 5.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2759, allocations: 0 / 0.5668 GB, free: 5.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2759, allocations: 0 / 0.5668 GB, free: 5.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2759, allocations: 0 / 0.5668 GB, free: 5.156 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006578/0.2825, allocations: 2.458 MB / 0.5692 GB, free: 2.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2825, allocations: 12.03 kB / 0.5692 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.2867, allocations: 0.7673 MB / 0.5699 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.2875, allocations: 0.7321 MB / 0.5706 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.2877, allocations: 248.1 kB / 0.5709 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.2879, allocations: 72 kB / 0.5709 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.2897, allocations: 1.094 MB / 0.572 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2897, allocations: 3.938 kB / 0.572 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.2898, allocations: 32 kB / 0.572 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2898, allocations: 16 kB / 0.5721 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.2918, allocations: 1.027 MB / 0.5731 GB, free: 14.55 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.2964, allocations: 3.076 MB / 0.5761 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.2993, allocations: 1.567 MB / 0.5776 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3007, allocations: 0.7462 MB / 0.5783 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3008, allocations: 24.97 kB / 0.5783 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3008, allocations: 43.56 kB / 0.5784 GB, free: 8.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.838e-06/0.3008, allocations: 3.984 kB / 0.5784 GB, free: 8.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02873/0.3296, allocations: 7.468 MB / 0.5857 GB, free: 1.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3296, allocations: 60.41 kB / 0.5857 GB, free: 1.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3307, allocations: 0.8397 MB / 0.5866 GB, free: 404 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3309, allocations: 45.7 kB / 0.5866 GB, free: 352 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.3312, allocations: 456.5 kB / 0.587 GB, free: 15.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3315, allocations: 335.3 kB / 0.5874 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.3319, allocations: 194.8 kB / 0.5875 GB, free: 15.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.332, allocations: 349.9 kB / 0.5879 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3335, allocations: 0.6936 MB / 0.5886 GB, free: 14.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.335, allocations: 0.8259 MB / 0.5894 GB, free: 13.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.3378, allocations: 1.497 MB / 0.5908 GB, free: 11.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3378, allocations: 0 / 0.5908 GB, free: 11.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01349/0.3513, allocations: 4.355 MB / 0.5951 GB, free: 7.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3513, allocations: 4 kB / 0.5951 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3514, allocations: 4 kB / 0.5951 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/0.3577, allocations: 1.893 MB / 0.5969 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.3585, allocations: 179.7 kB / 0.5971 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.3795, allocations: 9.188 MB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.3809, allocations: 159 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.381, allocations: 36 kB / 0.6063 GB, free: 11.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.3813, allocations: 233.6 kB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3815, allocations: 106.7 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.3943, allocations: 4.061 MB / 0.6106 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3944, allocations: 8 kB / 0.6106 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3944, allocations: 0 / 0.6106 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.3944, allocations: 7.969 kB / 0.6106 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.4091, allocations: 5.629 MB / 0.6161 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.4092, allocations: 4 kB / 0.6161 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.4097, allocations: 91.89 kB / 0.6162 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005919/0.4156, allocations: 1.839 MB / 0.6179 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4158, allocations: 16 kB / 0.618 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.4339, allocations: 7.862 MB / 0.6256 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.434, allocations: 7.938 kB / 0.6257 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08848/0.5224, allocations: 32.8 MB / 0.6577 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.5227, allocations: 195.6 kB / 0.6579 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5228, allocations: 19.94 kB / 0.6579 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009175/0.5237, allocations: 95.89 kB / 0.658 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.5244, allocations: 192.7 kB / 0.6582 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.5245, allocations: 24 kB / 0.6582 GB, free: 6.121 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006804/0.5252, allocations: 0.5628 MB / 0.6587 GB, free: 5.547 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.5252, allocations: 0 / 0.6587 GB, free: 5.547 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001613/0.5268, allocations: 0.6089 MB / 0.6593 GB, free: 4.938 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002802/0.5271, allocations: 135.1 kB / 0.6595 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00623/0.5333, allocations: 2.395 MB / 0.6618 GB, free: 2.395 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5333, allocations: 8.062 kB / 0.6618 GB, free: 2.387 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004348/0.5377, allocations: 1.536 MB / 0.6633 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5383, allocations: 81.97 kB / 0.6634 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.5452, allocations: 3.693 MB / 0.667 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.5458, allocations: 1.1 MB / 0.6681 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000313/0.5461, allocations: 90.75 kB / 0.6681 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5463, allocations: 59.42 kB / 0.6682 GB, free: 11.73 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5463, allocations: 0 / 0.6682 GB, free: 11.73 MB / 490.7 MB Notification: Performance of Templates: time 0.2254/0.7717, allocations: 32.1 MB / 0.6996 GB, free: 107.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)