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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009707, 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/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 238.8 MB, free: 4.73 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 192.4 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.431/0.431, allocations: 78.52 MB / 417.8 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 79.88 kB / 496.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 68.17 MB / 0.5517 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2027/0.3319, allocations: 6.371 MB / 0.5579 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.3346, allocations: 1.834 MB / 0.5597 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.335, allocations: 14.16 kB / 0.5597 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.3354, allocations: 163.9 kB / 0.5599 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.3366, allocations: 0.6191 MB / 0.5605 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000938/0.3376, allocations: 0.5387 MB / 0.561 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009025/0.3385, allocations: 1.269 MB / 0.5623 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3388, allocations: 248.6 kB / 0.5625 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.3392, allocations: 0.5237 MB / 0.563 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.3397, allocations: 0.6624 MB / 0.5636 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3399, allocations: 63.19 kB / 0.5637 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.3402, allocations: 196.8 kB / 0.5639 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.3404, allocations: 230.7 kB / 0.5641 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.3407, allocations: 0.5383 MB / 0.5646 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.3416, allocations: 1.39 MB / 0.566 GB, free: 34.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3416, allocations: 1.188 kB / 0.566 GB, free: 34.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3416, allocations: 6.031 kB / 0.566 GB, free: 34.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3416, allocations: 0 / 0.566 GB, free: 34.33 MB / 430.1 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.006812/0.3484, allocations: 2.448 MB / 0.5684 GB, free: 33.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3485, allocations: 8.969 kB / 0.5684 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.3531, allocations: 0.765 MB / 0.5692 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.3539, allocations: 0.7383 MB / 0.5699 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3541, allocations: 250.3 kB / 0.5701 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.3543, allocations: 72.09 kB / 0.5702 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3561, allocations: 1.089 MB / 0.5712 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3561, allocations: 0 / 0.5712 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.3562, allocations: 29.53 kB / 0.5713 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3562, allocations: 16.53 kB / 0.5713 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.3581, allocations: 1.033 MB / 0.5723 GB, free: 32.76 MB / 430.1 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.004112/0.3622, allocations: 3.079 MB / 0.5753 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.3646, allocations: 1.564 MB / 0.5768 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3658, allocations: 0.7565 MB / 0.5776 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3659, allocations: 11.53 kB / 0.5776 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3659, allocations: 42.69 kB / 0.5776 GB, free: 31.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.594e-06/0.366, allocations: 0 / 0.5776 GB, free: 31.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02727/0.3932, allocations: 7.474 MB / 0.5849 GB, free: 29.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3933, allocations: 61.5 kB / 0.585 GB, free: 29.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3944, allocations: 0.8449 MB / 0.5858 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.3946, allocations: 40.95 kB / 0.5858 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3949, allocations: 447.6 kB / 0.5863 GB, free: 28.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.3951, allocations: 333.9 kB / 0.5866 GB, free: 28.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.3955, allocations: 196 kB / 0.5868 GB, free: 28.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.3956, allocations: 354.3 kB / 0.5871 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.397, allocations: 0.6904 MB / 0.5878 GB, free: 27.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3985, allocations: 0.8229 MB / 0.5886 GB, free: 27.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.4012, allocations: 1.495 MB / 0.59 GB, free: 26.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4012, allocations: 1.125 kB / 0.5901 GB, free: 26.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01334/0.4146, allocations: 4.361 MB / 0.5943 GB, free: 25.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4146, allocations: 10.28 kB / 0.5943 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4146, allocations: 2.5 kB / 0.5943 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/0.4206, allocations: 1.892 MB / 0.5962 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.4215, allocations: 177.8 kB / 0.5963 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/0.4418, allocations: 9.187 MB / 0.6053 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4432, allocations: 160.1 kB / 0.6055 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.4433, allocations: 37.8 kB / 0.6055 GB, free: 21.2 MB / 430.1 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.0003685/0.4436, allocations: 230.2 kB / 0.6057 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.4438, allocations: 109.5 kB / 0.6058 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.4563, allocations: 4.06 MB / 0.6098 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4564, allocations: 10.28 kB / 0.6098 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4564, allocations: 3.703 kB / 0.6098 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4564, allocations: 3.984 kB / 0.6098 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.469, allocations: 5.636 MB / 0.6153 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4691, allocations: 0 / 0.6153 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.4695, allocations: 91.89 kB / 0.6154 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/0.4746, allocations: 1.831 MB / 0.6172 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.4747, allocations: 17 kB / 0.6172 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.4896, allocations: 7.871 MB / 0.6249 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4896, allocations: 3.938 kB / 0.6249 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.5025, allocations: 4.958 MB / 0.6297 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.5028, allocations: 199.6 kB / 0.6299 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.503, allocations: 20 kB / 0.6299 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.5039, allocations: 88.95 kB / 0.63 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.5045, allocations: 200.5 kB / 0.6302 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.5046, allocations: 24.52 kB / 0.6302 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006835/0.5053, allocations: 0.5706 MB / 0.6308 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5053, allocations: 0.5625 kB / 0.6308 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001213/0.5065, allocations: 435.6 kB / 0.6312 GB, free: 13.52 MB / 446.1 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.0002438/0.5067, allocations: 135 kB / 0.6313 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006073/0.5128, allocations: 2.401 MB / 0.6337 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5128, allocations: 1.406 kB / 0.6337 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/0.517, allocations: 1.536 MB / 0.6352 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.5177, allocations: 83.44 kB / 0.6353 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.5221, allocations: 2.376 MB / 0.6376 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/0.523, allocations: 1.057 MB / 0.6386 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005189/0.5236, allocations: 84.8 kB / 0.6387 GB, free: 5.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.5239, allocations: 55.42 kB / 0.6388 GB, free: 5.75 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5239, allocations: 0 / 0.6388 GB, free: 5.75 MB / 446.1 MB Notification: Performance of Templates: time 0.03103/0.5549, allocations: 21.74 MB / 0.66 GB, free: 180 kB / 462.1 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)