Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001099/0.001099, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.5 MB, free: 4.766 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.001307/0.001307, allocations: 200.4 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5145/0.5145, allocations: 91.9 MB / 431.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 71.89 kB / 0.5019 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3779, allocations: 71.27 MB / 0.5715 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005564/0.3835, allocations: 6.392 MB / 0.5777 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.387, allocations: 1.845 MB / 0.5795 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.3876, allocations: 12.72 kB / 0.5795 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.3881, allocations: 163.9 kB / 0.5797 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3895, allocations: 0.6294 MB / 0.5803 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3906, allocations: 0.5339 MB / 0.5808 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3916, allocations: 1.27 MB / 0.582 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.3919, allocations: 264.1 kB / 0.5823 GB, free: 30 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.3924, allocations: 0.5089 MB / 0.5828 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.3929, allocations: 0.6674 MB / 0.5834 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3931, allocations: 62.94 kB / 0.5835 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3935, allocations: 201 kB / 0.5837 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3936, allocations: 229.1 kB / 0.5839 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.394, allocations: 0.5418 MB / 0.5844 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.3947, allocations: 1.082 MB / 0.5855 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3947, allocations: 0 / 0.5855 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3948, allocations: 7.938 kB / 0.5855 GB, free: 28.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3948, allocations: 0 / 0.5855 GB, free: 28.47 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.007773/0.4025, allocations: 2.444 MB / 0.5879 GB, free: 27.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4026, allocations: 13.09 kB / 0.5879 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.4075, allocations: 0.762 MB / 0.5886 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.4086, allocations: 0.7407 MB / 0.5894 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.4089, allocations: 251.7 kB / 0.5896 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.409, allocations: 72.38 kB / 0.5897 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.4112, allocations: 1.089 MB / 0.5907 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4112, allocations: 1.812 kB / 0.5907 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/0.4113, allocations: 29.12 kB / 0.5908 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4114, allocations: 16.81 kB / 0.5908 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.4135, allocations: 1.037 MB / 0.5918 GB, free: 25.66 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.004959/0.4185, allocations: 3.07 MB / 0.5948 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.4213, allocations: 1.561 MB / 0.5963 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.4228, allocations: 0.7538 MB / 0.5971 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4229, allocations: 15.78 kB / 0.5971 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4229, allocations: 40.16 kB / 0.5971 GB, free: 22.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.615e-06/0.4229, allocations: 0 / 0.5971 GB, free: 22.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03096/0.4539, allocations: 7.477 MB / 0.6044 GB, free: 21.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.454, allocations: 64.3 kB / 0.6045 GB, free: 21.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4553, allocations: 0.8418 MB / 0.6053 GB, free: 20.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4556, allocations: 42.02 kB / 0.6053 GB, free: 20.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.4559, allocations: 449.2 kB / 0.6058 GB, free: 20.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.4562, allocations: 332.7 kB / 0.6061 GB, free: 20.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.4566, allocations: 198.6 kB / 0.6063 GB, free: 20.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4567, allocations: 354.7 kB / 0.6066 GB, free: 19.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4582, allocations: 0.6977 MB / 0.6073 GB, free: 19.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.4598, allocations: 0.8148 MB / 0.6081 GB, free: 19.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.4627, allocations: 1.499 MB / 0.6096 GB, free: 18.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.4627, allocations: 0 / 0.6096 GB, free: 18.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01455/0.4773, allocations: 4.352 MB / 0.6138 GB, free: 17.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4774, allocations: 5.438 kB / 0.6138 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.4774, allocations: 2.156 kB / 0.6138 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/0.484, allocations: 1.9 MB / 0.6157 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.485, allocations: 175.4 kB / 0.6158 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.5043, allocations: 9.194 MB / 0.6248 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.506, allocations: 159 kB / 0.625 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/0.5061, allocations: 43.98 kB / 0.625 GB, free: 7.41 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.0004342/0.5065, allocations: 221.7 kB / 0.6252 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5067, allocations: 106.7 kB / 0.6253 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.5184, allocations: 4.064 MB / 0.6293 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.5185, allocations: 8 kB / 0.6293 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5185, allocations: 0 / 0.6293 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/0.5185, allocations: 7.969 kB / 0.6293 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.533, allocations: 5.629 MB / 0.6348 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.5331, allocations: 4 kB / 0.6348 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.5337, allocations: 91.83 kB / 0.6349 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005983/0.5397, allocations: 1.831 MB / 0.6367 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.5399, allocations: 20 kB / 0.6367 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.5579, allocations: 7.875 MB / 0.6444 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.558, allocations: 3.938 kB / 0.6444 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.5728, allocations: 4.954 MB / 0.6492 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.5733, allocations: 195.5 kB / 0.6494 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.5735, allocations: 16 kB / 0.6494 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/0.5745, allocations: 91.89 kB / 0.6495 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/0.5752, allocations: 212.5 kB / 0.6497 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.5752, allocations: 24 kB / 0.6497 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000724/0.576, allocations: 0.5589 MB / 0.6503 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.576, allocations: 0 / 0.6503 GB, free: 13.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001301/0.5773, allocations: 439.5 kB / 0.6507 GB, free: 12.72 MB / 462.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.0002602/0.5776, allocations: 136 kB / 0.6508 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006325/0.5839, allocations: 2.406 MB / 0.6532 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5839, allocations: 0 / 0.6532 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0044/0.5883, allocations: 1.535 MB / 0.6547 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008732/0.5892, allocations: 83.42 kB / 0.6548 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.5929, allocations: 2.405 MB / 0.6571 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.5934, allocations: 1.049 MB / 0.6581 GB, free: 5.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5937, allocations: 71.42 kB / 0.6582 GB, free: 4.949 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5937, allocations: 0 / 0.6582 GB, free: 4.949 MB / 462.1 MB Notification: Performance of Templates: time 0.02284/0.6166, allocations: 18.83 MB / 0.6766 GB, free: 2.102 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)