Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.329/1.329, allocations: 223.3 MB / 239 MB, free: 5.441 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.001038/0.001038, allocations: 184.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.558/0.558, allocations: 91.91 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 12 kB / 0.5042 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3045, allocations: 72.47 MB / 0.5749 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.004573/0.3091, allocations: 6.461 MB / 0.5813 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.312, allocations: 2.1 MB / 0.5833 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.3125, allocations: 24.88 kB / 0.5833 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.3129, allocations: 178.5 kB / 0.5835 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3142, allocations: 0.6171 MB / 0.5841 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3153, allocations: 0.6266 MB / 0.5847 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3168, allocations: 1.498 MB / 0.5862 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.3173, allocations: 353.9 kB / 0.5865 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.3181, allocations: 0.5598 MB / 0.5871 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.3188, allocations: 0.6936 MB / 0.5877 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3189, allocations: 58.78 kB / 0.5878 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.3193, allocations: 183.1 kB / 0.588 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3195, allocations: 252.4 kB / 0.5882 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.3197, allocations: 254.2 kB / 0.5885 GB, free: 28.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008707/0.3206, allocations: 1.342 MB / 0.5898 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3206, allocations: 0 / 0.5898 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3206, allocations: 0 / 0.5898 GB, free: 27.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.3206, allocations: 1.281 kB / 0.5898 GB, free: 27.9 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.007053/0.3277, allocations: 2.563 MB / 0.5923 GB, free: 26.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3277, allocations: 11.47 kB / 0.5923 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.3325, allocations: 0.8097 MB / 0.5931 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3338, allocations: 0.8715 MB / 0.5939 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3341, allocations: 245.6 kB / 0.5942 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3342, allocations: 95.53 kB / 0.5942 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.3367, allocations: 1.44 MB / 0.5957 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3367, allocations: 5.062 kB / 0.5957 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.3368, allocations: 40.22 kB / 0.5957 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.3369, allocations: 33.08 kB / 0.5957 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.3394, allocations: 1.295 MB / 0.597 GB, free: 24.75 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.006025/0.3454, allocations: 4.549 MB / 0.6014 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.3485, allocations: 1.859 MB / 0.6032 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.3501, allocations: 0.9006 MB / 0.6041 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3502, allocations: 18.38 kB / 0.6041 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3503, allocations: 47.62 kB / 0.6042 GB, free: 20.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=110): time 2.946e-06/0.3503, allocations: 1.219 kB / 0.6042 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02703/0.3773, allocations: 8.691 MB / 0.6127 GB, free: 18.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3774, allocations: 115.4 kB / 0.6128 GB, free: 18.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.379, allocations: 1.042 MB / 0.6138 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.3793, allocations: 50.05 kB / 0.6139 GB, free: 18.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.3797, allocations: 0.5821 MB / 0.6144 GB, free: 17.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.3802, allocations: 390 kB / 0.6148 GB, free: 17.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.3803, allocations: 29.69 kB / 0.6148 GB, free: 17.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.3804, allocations: 354.3 kB / 0.6152 GB, free: 17.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.382, allocations: 0.8309 MB / 0.616 GB, free: 16.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.3838, allocations: 1.035 MB / 0.617 GB, free: 16.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.3855, allocations: 0.9047 MB / 0.6179 GB, free: 16.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3855, allocations: 1.406 kB / 0.6179 GB, free: 16.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01317/0.3987, allocations: 5.533 MB / 0.6233 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/0.3988, allocations: 226.7 kB / 0.6235 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3988, allocations: 4 kB / 0.6235 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005765/0.4046, allocations: 2.221 MB / 0.6257 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4057, allocations: 227.6 kB / 0.6259 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/0.425, allocations: 10.28 MB / 0.6359 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4267, allocations: 238.6 kB / 0.6361 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4268, allocations: 47.98 kB / 0.6362 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.4268, allocations: 7.938 kB / 0.6362 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01378/0.4406, allocations: 5.335 MB / 0.6414 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4407, allocations: 4 kB / 0.6414 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007426/0.4481, allocations: 2.226 MB / 0.6436 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4492, allocations: 207.7 kB / 0.6438 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.4707, allocations: 10.25 MB / 0.6538 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.4723, allocations: 206.9 kB / 0.654 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.4726, allocations: 47.98 kB / 0.654 GB, free: 11.89 MB / 462.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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.00067/0.4732, allocations: 369.4 kB / 0.6544 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.4735, allocations: 138.3 kB / 0.6545 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.4869, allocations: 5.169 MB / 0.6596 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.487, allocations: 12 kB / 0.6596 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.487, allocations: 11.86 kB / 0.6596 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.487, allocations: 3.984 kB / 0.6596 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.5029, allocations: 6.984 MB / 0.6664 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.5029, allocations: 0 / 0.6664 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.5036, allocations: 123.8 kB / 0.6665 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006/0.5097, allocations: 2.152 MB / 0.6686 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.5099, allocations: 28 kB / 0.6687 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/0.5283, allocations: 8.832 MB / 0.6773 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5283, allocations: 3.938 kB / 0.6773 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.5437, allocations: 6.232 MB / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.5441, allocations: 227.1 kB / 0.6836 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.5444, allocations: 20 kB / 0.6836 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5455, allocations: 147.9 kB / 0.6838 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005846/0.5461, allocations: 208.6 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.5462, allocations: 28 kB / 0.684 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008948/0.5471, allocations: 0.6906 MB / 0.6847 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5471, allocations: 0 / 0.6847 GB, free: 12.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002287/0.5494, allocations: 0.7956 MB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (73): * Single equations (assignments): 72 * 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.0002689/0.5497, allocations: 135.8 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01149/0.5612, allocations: 4.925 MB / 0.6904 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5612, allocations: 0 / 0.6904 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.5657, allocations: 1.837 MB / 0.6922 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5667, allocations: 139.8 kB / 0.6923 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.5708, allocations: 2.813 MB / 0.695 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.5715, allocations: 1.181 MB / 0.6962 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005365/0.572, allocations: 128.6 kB / 0.6963 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5723, allocations: 75.42 kB / 0.6964 GB, free: 56 kB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5723, allocations: 0 / 0.6964 GB, free: 56 kB / 494.1 MB Notification: Performance of Templates: time 0.0437/0.616, allocations: 30.4 MB / 0.7261 GB, free: 1.668 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)