Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.286/1.286, allocations: 223.2 MB / 238.9 MB, free: 5.461 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.001066/0.001066, allocations: 189 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4517/0.4517, allocations: 79.45 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003971, allocations: 12 kB / 0.489 GB, free: 5.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3734, allocations: 69.51 MB / 0.5569 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004603/0.378, allocations: 5.542 MB / 0.5623 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.3812, allocations: 1.929 MB / 0.5642 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.3817, allocations: 14.88 kB / 0.5642 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.3822, allocations: 171.2 kB / 0.5644 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.3839, allocations: 0.6485 MB / 0.565 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.385, allocations: 0.5406 MB / 0.5655 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3862, allocations: 0.9245 MB / 0.5664 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.3865, allocations: 268.9 kB / 0.5667 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.3871, allocations: 0.5178 MB / 0.5672 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.3876, allocations: 0.6226 MB / 0.5678 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3877, allocations: 53.31 kB / 0.5678 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.3881, allocations: 169.2 kB / 0.568 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.3883, allocations: 222.6 kB / 0.5682 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3884, allocations: 217.8 kB / 0.5684 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009669/0.3894, allocations: 1.096 MB / 0.5695 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.3894, allocations: 0.5625 kB / 0.5695 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3894, allocations: 0 / 0.5695 GB, free: 35.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.3894, allocations: 1.594 kB / 0.5695 GB, free: 35.71 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.0072/0.3966, allocations: 2.39 MB / 0.5718 GB, free: 34.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3967, allocations: 8.719 kB / 0.5718 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.4015, allocations: 0.7826 MB / 0.5726 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.4029, allocations: 0.7717 MB / 0.5734 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.4031, allocations: 227.2 kB / 0.5736 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.4033, allocations: 85.5 kB / 0.5737 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.4054, allocations: 1.191 MB / 0.5748 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4054, allocations: 0 / 0.5748 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.4055, allocations: 33.77 kB / 0.5749 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4055, allocations: 22.56 kB / 0.5749 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.4078, allocations: 1.164 MB / 0.576 GB, free: 33.09 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.004988/0.4128, allocations: 3.2 MB / 0.5791 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.4156, allocations: 1.74 MB / 0.5808 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/0.4157, allocations: 19.47 kB / 0.5809 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4157, allocations: 42.34 kB / 0.5809 GB, free: 30.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.546e-06/0.4158, allocations: 0 / 0.5809 GB, free: 30.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.029/0.4448, allocations: 8.733 MB / 0.5894 GB, free: 28.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4448, allocations: 90.66 kB / 0.5895 GB, free: 28.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.4463, allocations: 0.9378 MB / 0.5904 GB, free: 28.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.4466, allocations: 40.95 kB / 0.5905 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.4469, allocations: 491.6 kB / 0.5909 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.4472, allocations: 336.2 kB / 0.5913 GB, free: 27.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.4473, allocations: 25.19 kB / 0.5913 GB, free: 27.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.4474, allocations: 355.4 kB / 0.5916 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4489, allocations: 0.7686 MB / 0.5924 GB, free: 27.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.4506, allocations: 0.8998 MB / 0.5932 GB, free: 26.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.4522, allocations: 0.8264 MB / 0.5941 GB, free: 26.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4522, allocations: 1.5 kB / 0.5941 GB, free: 26.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01592/0.4681, allocations: 5.339 MB / 0.5993 GB, free: 25.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.4683, allocations: 0.7917 MB / 0.6 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4684, allocations: 7.312 kB / 0.6 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007391/0.4758, allocations: 2.216 MB / 0.6022 GB, free: 23.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4768, allocations: 177.5 kB / 0.6024 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/0.5015, allocations: 10.76 MB / 0.6129 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.5032, allocations: 216 kB / 0.6131 GB, free: 18.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.5034, allocations: 35.42 kB / 0.6131 GB, free: 18.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5034, allocations: 4 kB / 0.6131 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01408/0.5175, allocations: 5.187 MB / 0.6182 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.5176, allocations: 4 kB / 0.6182 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/0.5239, allocations: 2.211 MB / 0.6204 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.5248, allocations: 175.7 kB / 0.6205 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.5465, allocations: 10.72 MB / 0.631 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5481, allocations: 207 kB / 0.6312 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5482, allocations: 35.98 kB / 0.6312 GB, free: 292 kB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (107): * Single equations (assignments): 106 * 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.0006345/0.5488, allocations: 319.7 kB / 0.6315 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.5491, allocations: 114.6 kB / 0.6316 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5641, allocations: 5.023 MB / 0.6366 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5641, allocations: 15.94 kB / 0.6366 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5641, allocations: 4 kB / 0.6366 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.5642, allocations: 7.969 kB / 0.6366 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.5815, allocations: 6.673 MB / 0.6431 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.5816, allocations: 0 / 0.6431 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.5824, allocations: 97.48 kB / 0.6432 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006756/0.5891, allocations: 2.155 MB / 0.6453 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.5894, allocations: 23.94 kB / 0.6453 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/0.6107, allocations: 9.309 MB / 0.6544 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6107, allocations: 0 / 0.6544 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.6278, allocations: 6.032 MB / 0.6603 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.6284, allocations: 207.5 kB / 0.6605 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.6286, allocations: 20 kB / 0.6605 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6298, allocations: 143.9 kB / 0.6606 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/0.6304, allocations: 193.7 kB / 0.6608 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.6305, allocations: 25.06 kB / 0.6609 GB, free: 1.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009399/0.6314, allocations: 0.643 MB / 0.6615 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6314, allocations: 0 / 0.6615 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002283/0.6337, allocations: 0.7101 MB / 0.6622 GB, free: 248 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0002971/0.634, allocations: 128.4 kB / 0.6623 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01279/0.6468, allocations: 4.701 MB / 0.6669 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6469, allocations: 0 / 0.6669 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005075/0.652, allocations: 1.771 MB / 0.6686 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.6528, allocations: 86.42 kB / 0.6687 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.6568, allocations: 2.49 MB / 0.6711 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.6574, allocations: 1.133 MB / 0.6722 GB, free: 5.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004968/0.6579, allocations: 118.7 kB / 0.6724 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.6581, allocations: 63.42 kB / 0.6724 GB, free: 5.699 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6581, allocations: 0 / 0.6724 GB, free: 5.699 MB / 478.1 MB Notification: Performance of Templates: time 0.0453/0.7034, allocations: 28.77 MB / 0.7005 GB, free: 9.074 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)