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.001/0.001, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.335/1.335, allocations: 223.3 MB / 239 MB, free: 5.633 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.0009748/0.0009748, allocations: 188.5 kB / 290.3 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4877/0.4877, allocations: 91.92 MB / 433.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 16 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 72.46 MB / 0.5749 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.003804/0.3052, allocations: 5.58 MB / 0.5804 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3074, allocations: 1.75 MB / 0.5821 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.3077, allocations: 11.81 kB / 0.5821 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.3081, allocations: 150.5 kB / 0.5823 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.3091, allocations: 0.5732 MB / 0.5828 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.31, allocations: 0.4946 MB / 0.5833 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008269/0.3108, allocations: 1.2 MB / 0.5845 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.3112, allocations: 235.8 kB / 0.5847 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.3116, allocations: 483.5 kB / 0.5852 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.3121, allocations: 0.6147 MB / 0.5858 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.564e-05/0.3122, allocations: 50.31 kB / 0.5858 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.3125, allocations: 178.2 kB / 0.586 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3127, allocations: 209.2 kB / 0.5862 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3128, allocations: 209.6 kB / 0.5864 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3135, allocations: 1.057 MB / 0.5874 GB, free: 29.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3135, allocations: 0.5312 kB / 0.5874 GB, free: 29.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3135, allocations: 0.875 kB / 0.5874 GB, free: 29.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3135, allocations: 0 / 0.5874 GB, free: 29.31 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.006158/0.3197, allocations: 2.304 MB / 0.5897 GB, free: 28.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3197, allocations: 9.156 kB / 0.5897 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.3243, allocations: 0.7729 MB / 0.5904 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.3252, allocations: 0.7055 MB / 0.5911 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.3254, allocations: 259.5 kB / 0.5914 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3256, allocations: 77.97 kB / 0.5914 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.3275, allocations: 1.155 MB / 0.5926 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3275, allocations: 1.094 kB / 0.5926 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.3276, allocations: 29.3 kB / 0.5926 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3276, allocations: 21.52 kB / 0.5926 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.3297, allocations: 1.119 MB / 0.5937 GB, free: 26.65 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.004082/0.3338, allocations: 3.119 MB / 0.5967 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.3364, allocations: 1.711 MB / 0.5984 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.3377, allocations: 0.825 MB / 0.5992 GB, free: 23.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3379, allocations: 19.09 kB / 0.5992 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3379, allocations: 38.28 kB / 0.5993 GB, free: 23.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.505e-06/0.3379, allocations: 1.125 kB / 0.5993 GB, free: 23.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02846/0.3664, allocations: 9.201 MB / 0.6083 GB, free: 22.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3664, allocations: 65.77 kB / 0.6083 GB, free: 22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3675, allocations: 0.8325 MB / 0.6091 GB, free: 21.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.3676, allocations: 39.89 kB / 0.6092 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3679, allocations: 459.1 kB / 0.6096 GB, free: 21.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.3682, allocations: 332.5 kB / 0.6099 GB, free: 20.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.3682, allocations: 24.34 kB / 0.61 GB, free: 20.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.3683, allocations: 347.5 kB / 0.6103 GB, free: 20.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.3698, allocations: 0.7658 MB / 0.611 GB, free: 20.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3713, allocations: 0.8848 MB / 0.6119 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3728, allocations: 0.8143 MB / 0.6127 GB, free: 19.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3728, allocations: 1.125 kB / 0.6127 GB, free: 19.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01338/0.3862, allocations: 5.298 MB / 0.6179 GB, free: 17.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3863, allocations: 8 kB / 0.6179 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3863, allocations: 0 / 0.6179 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.3919, allocations: 2.225 MB / 0.62 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.3927, allocations: 171.7 kB / 0.6202 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/0.4112, allocations: 10.3 MB / 0.6303 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4125, allocations: 202.8 kB / 0.6305 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.4126, allocations: 43.98 kB / 0.6305 GB, free: 4.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.4129, allocations: 221.7 kB / 0.6307 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.4131, allocations: 110.7 kB / 0.6308 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.425, allocations: 5.006 MB / 0.6357 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.425, allocations: 8 kB / 0.6357 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.425, allocations: 0 / 0.6357 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4251, allocations: 7.984 kB / 0.6357 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.4396, allocations: 6.578 MB / 0.6421 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.4396, allocations: 0 / 0.6421 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.4402, allocations: 91.89 kB / 0.6422 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005925/0.4461, allocations: 2.163 MB / 0.6443 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.4462, allocations: 16 kB / 0.6444 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.4641, allocations: 8.843 MB / 0.653 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4641, allocations: 3.984 kB / 0.653 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.4791, allocations: 5.977 MB / 0.6588 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.4796, allocations: 199.6 kB / 0.659 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4797, allocations: 19.95 kB / 0.659 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.4806, allocations: 131.9 kB / 0.6592 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/0.4812, allocations: 196.6 kB / 0.6594 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.4813, allocations: 23.98 kB / 0.6594 GB, free: 6.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007095/0.482, allocations: 0.5589 MB / 0.6599 GB, free: 5.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.482, allocations: 0 / 0.6599 GB, free: 5.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4832, allocations: 439.6 kB / 0.6604 GB, free: 5.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.4835, allocations: 135 kB / 0.6605 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006111/0.4896, allocations: 2.707 MB / 0.6631 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4896, allocations: 0 / 0.6631 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004219/0.4938, allocations: 1.748 MB / 0.6648 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.4946, allocations: 91.42 kB / 0.6649 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.4977, allocations: 2.355 MB / 0.6672 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4983, allocations: 1.057 MB / 0.6682 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.4986, allocations: 78.78 kB / 0.6683 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4988, allocations: 63.42 kB / 0.6684 GB, free: 13.16 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4988, allocations: 0 / 0.6684 GB, free: 13.16 MB / 478.1 MB Notification: Performance of Templates: time 0.02869/0.5275, allocations: 20.67 MB / 0.6886 GB, free: 8.492 MB / 494.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)