Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005077/0.005077, allocations: 167.8 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.3 MB / 239.1 MB, free: 1.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.000805, allocations: 110 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4259/0.4259, allocations: 78.62 MB / 420 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 12 kB / 499.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2859, allocations: 69.34 MB / 0.5559 GB, free: 38.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004939/0.2909, allocations: 5.81 MB / 0.5616 GB, free: 37.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.2941, allocations: 1.891 MB / 0.5634 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.2945, allocations: 15.5 kB / 0.5634 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.2951, allocations: 164.2 kB / 0.5636 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.2964, allocations: 0.6024 MB / 0.5642 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2976, allocations: 0.5511 MB / 0.5647 GB, free: 35.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.299, allocations: 1.311 MB / 0.566 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.2994, allocations: 274.8 kB / 0.5663 GB, free: 34.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.3001, allocations: 0.5155 MB / 0.5668 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.3007, allocations: 0.6395 MB / 0.5674 GB, free: 34.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3008, allocations: 52.97 kB / 0.5674 GB, free: 34.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.3012, allocations: 184.1 kB / 0.5676 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3014, allocations: 216 kB / 0.5678 GB, free: 34.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.3016, allocations: 221 kB / 0.568 GB, free: 33.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008018/0.3024, allocations: 1.134 MB / 0.5691 GB, free: 33.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3024, allocations: 0 / 0.5691 GB, free: 33.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3024, allocations: 0 / 0.5691 GB, free: 33.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3024, allocations: 4 kB / 0.5691 GB, free: 33.56 MB / 426.7 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.00744/0.3099, allocations: 2.394 MB / 0.5715 GB, free: 32.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3099, allocations: 11.22 kB / 0.5715 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3149, allocations: 0.777 MB / 0.5722 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3163, allocations: 0.7768 MB / 0.573 GB, free: 31.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3165, allocations: 230.8 kB / 0.5732 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3166, allocations: 85.42 kB / 0.5733 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.3187, allocations: 1.19 MB / 0.5745 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3188, allocations: 4 kB / 0.5745 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.3189, allocations: 33.11 kB / 0.5745 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3189, allocations: 19.47 kB / 0.5745 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3211, allocations: 1.168 MB / 0.5757 GB, free: 30.82 MB / 426.7 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.004656/0.3257, allocations: 3.205 MB / 0.5788 GB, free: 29.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.3285, allocations: 1.74 MB / 0.5805 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.3299, allocations: 0.8347 MB / 0.5813 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.94e-05/0.33, allocations: 17.75 kB / 0.5813 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3301, allocations: 48.31 kB / 0.5814 GB, free: 27.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.577e-06/0.3301, allocations: 0 / 0.5814 GB, free: 27.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02907/0.3592, allocations: 8.727 MB / 0.5899 GB, free: 26.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3592, allocations: 91.72 kB / 0.59 GB, free: 26.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.3606, allocations: 0.9441 MB / 0.5909 GB, free: 25.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.3608, allocations: 41.2 kB / 0.5909 GB, free: 25.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.3611, allocations: 488.9 kB / 0.5914 GB, free: 25.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.3613, allocations: 338.6 kB / 0.5917 GB, free: 25.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.3614, allocations: 24.72 kB / 0.5918 GB, free: 25.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.3615, allocations: 351.4 kB / 0.5921 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.3631, allocations: 0.7753 MB / 0.5928 GB, free: 24.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3647, allocations: 0.9118 MB / 0.5937 GB, free: 24.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.3663, allocations: 0.8211 MB / 0.5945 GB, free: 23.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3663, allocations: 1.531 kB / 0.5945 GB, free: 23.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01569/0.382, allocations: 5.331 MB / 0.5997 GB, free: 22.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.3821, allocations: 155.1 kB / 0.5999 GB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3821, allocations: 2.531 kB / 0.5999 GB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/0.3893, allocations: 2.215 MB / 0.6021 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.3903, allocations: 181.8 kB / 0.6022 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.413, allocations: 10.26 MB / 0.6123 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.4148, allocations: 215.8 kB / 0.6125 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.4149, allocations: 39.66 kB / 0.6125 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4149, allocations: 4 kB / 0.6125 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01423/0.4291, allocations: 5.186 MB / 0.6176 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4292, allocations: 3.938 kB / 0.6176 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006395/0.4356, allocations: 2.218 MB / 0.6197 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.4364, allocations: 171.7 kB / 0.6199 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.4574, allocations: 10.22 MB / 0.6299 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.459, allocations: 203 kB / 0.6301 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/0.4591, allocations: 39.98 kB / 0.6301 GB, free: 13.77 MB / 442.7 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.000551/0.4597, allocations: 321.9 kB / 0.6304 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.4599, allocations: 114.6 kB / 0.6305 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.4749, allocations: 5.023 MB / 0.6354 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.475, allocations: 11.95 kB / 0.6354 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.475, allocations: 4 kB / 0.6354 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.475, allocations: 3.984 kB / 0.6354 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.4923, allocations: 6.677 MB / 0.642 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.4924, allocations: 0 / 0.642 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.4932, allocations: 95.83 kB / 0.6421 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00689/0.5001, allocations: 2.159 MB / 0.6442 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.5004, allocations: 16 kB / 0.6442 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.5209, allocations: 8.833 MB / 0.6528 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5209, allocations: 0 / 0.6528 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.5379, allocations: 6.021 MB / 0.6587 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.5384, allocations: 211.6 kB / 0.6589 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.5388, allocations: 20 kB / 0.6589 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.5401, allocations: 143.7 kB / 0.659 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/0.5407, allocations: 208.6 kB / 0.6592 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5408, allocations: 20 kB / 0.6593 GB, free: 15.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.5419, allocations: 0.643 MB / 0.6599 GB, free: 14.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5419, allocations: 0 / 0.6599 GB, free: 14.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002328/0.5442, allocations: 0.7101 MB / 0.6606 GB, free: 14.19 MB / 474.7 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.0002759/0.5445, allocations: 123.2 kB / 0.6607 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/0.5574, allocations: 4.693 MB / 0.6653 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5574, allocations: 0 / 0.6653 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005117/0.5625, allocations: 1.772 MB / 0.667 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5637, allocations: 97.84 kB / 0.6671 GB, free: 7.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.568, allocations: 2.474 MB / 0.6695 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.5687, allocations: 1.105 MB / 0.6706 GB, free: 3.832 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005227/0.5693, allocations: 115.1 kB / 0.6707 GB, free: 3.715 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5695, allocations: 63.42 kB / 0.6708 GB, free: 3.652 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5695, allocations: 4 kB / 0.6708 GB, free: 3.648 MB / 474.7 MB Notification: Performance of Templates: time 0.04174/0.6112, allocations: 28.8 MB / 0.6989 GB, free: 6.848 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)