Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004891/0.004891, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.26/1.26, allocations: 223.2 MB / 239.1 MB, free: 1.734 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.0009005/0.0009005, allocations: 101.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4305/0.4305, allocations: 78.59 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 16 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3174, allocations: 69.35 MB / 0.5558 GB, free: 38.85 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.004999/0.3225, allocations: 6.061 MB / 0.5617 GB, free: 37.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.326, allocations: 2.085 MB / 0.5637 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.3267, allocations: 19.56 kB / 0.5638 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.3271, allocations: 164.9 kB / 0.5639 GB, free: 35.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3286, allocations: 0.6786 MB / 0.5646 GB, free: 35.49 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3299, allocations: 0.6192 MB / 0.5652 GB, free: 35.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.3313, allocations: 1.024 MB / 0.5662 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.3318, allocations: 357.2 kB / 0.5665 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.3324, allocations: 0.532 MB / 0.567 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.3331, allocations: 0.6701 MB / 0.5677 GB, free: 33.87 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.3332, allocations: 58.25 kB / 0.5677 GB, free: 33.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.3337, allocations: 171.8 kB / 0.5679 GB, free: 33.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3339, allocations: 240.3 kB / 0.5681 GB, free: 33.69 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.3342, allocations: 244.9 kB / 0.5684 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3352, allocations: 1.273 MB / 0.5696 GB, free: 33.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3352, allocations: 0 / 0.5696 GB, free: 33.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3352, allocations: 0 / 0.5696 GB, free: 33.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3353, allocations: 0 / 0.5696 GB, free: 33.15 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00691/0.3422, allocations: 2.508 MB / 0.5721 GB, free: 32.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3422, allocations: 8.406 kB / 0.5721 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.3467, allocations: 0.8154 MB / 0.5729 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3478, allocations: 0.8306 MB / 0.5737 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.348, allocations: 244.1 kB / 0.5739 GB, free: 31.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3482, allocations: 97.38 kB / 0.574 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.3504, allocations: 1.402 MB / 0.5754 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3504, allocations: 0 / 0.5754 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.3505, allocations: 41.03 kB / 0.5754 GB, free: 30.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.3506, allocations: 26.64 kB / 0.5754 GB, free: 30.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.3528, allocations: 1.285 MB / 0.5767 GB, free: 30.08 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.005205/0.358, allocations: 4.309 MB / 0.5809 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.3608, allocations: 1.849 MB / 0.5827 GB, free: 26.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/0.3609, allocations: 24.58 kB / 0.5827 GB, free: 26.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.361, allocations: 48.62 kB / 0.5828 GB, free: 26.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.915e-06/0.361, allocations: 0 / 0.5828 GB, free: 26.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=107): time 0.02833/0.3893, allocations: 9.015 MB / 0.5916 GB, free: 24.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3894, allocations: 114.5 kB / 0.5917 GB, free: 24.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.3908, allocations: 1.003 MB / 0.5927 GB, free: 24.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.391, allocations: 45.83 kB / 0.5927 GB, free: 24.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.3913, allocations: 0.5598 MB / 0.5933 GB, free: 23.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.3916, allocations: 381.3 kB / 0.5936 GB, free: 23.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.3917, allocations: 29.5 kB / 0.5937 GB, free: 23.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.3918, allocations: 356 kB / 0.594 GB, free: 23.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.3934, allocations: 0.8125 MB / 0.5948 GB, free: 22.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.3951, allocations: 1.009 MB / 0.5958 GB, free: 22.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.3968, allocations: 0.8904 MB / 0.5966 GB, free: 22.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3968, allocations: 1.188 kB / 0.5966 GB, free: 22.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01594/0.4127, allocations: 5.502 MB / 0.602 GB, free: 20.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.4131, allocations: 1.503 MB / 0.6035 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.4132, allocations: 8.094 kB / 0.6035 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007413/0.4206, allocations: 2.225 MB / 0.6057 GB, free: 18.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.4217, allocations: 216.9 kB / 0.6059 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.4452, allocations: 10.76 MB / 0.6164 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4469, allocations: 230.7 kB / 0.6166 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.447, allocations: 47.98 kB / 0.6166 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.4471, allocations: 4.625 kB / 0.6167 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01358/0.4606, allocations: 5.3 MB / 0.6218 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4607, allocations: 4 kB / 0.6218 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/0.4668, allocations: 2.218 MB / 0.624 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.4677, allocations: 203.7 kB / 0.6242 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.4901, allocations: 10.74 MB / 0.6347 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.4918, allocations: 210.8 kB / 0.6349 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4919, allocations: 43.98 kB / 0.6349 GB, free: 8.547 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.0006962/0.4926, allocations: 369 kB / 0.6353 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.4929, allocations: 130.4 kB / 0.6354 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.5077, allocations: 5.168 MB / 0.6404 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5077, allocations: 11.95 kB / 0.6405 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5077, allocations: 0 / 0.6405 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.5078, allocations: 11.91 kB / 0.6405 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.525, allocations: 6.94 MB / 0.6472 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.525, allocations: 0 / 0.6472 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.5257, allocations: 127.8 kB / 0.6474 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006506/0.5322, allocations: 2.164 MB / 0.6495 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.5323, allocations: 23.94 kB / 0.6495 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/0.553, allocations: 9.298 MB / 0.6586 GB, free: 8 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.553, allocations: 4 kB / 0.6586 GB, free: 4 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/0.5701, allocations: 6.216 MB / 0.6647 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.5705, allocations: 227.1 kB / 0.6649 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.5708, allocations: 20 kB / 0.6649 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.572, allocations: 147.8 kB / 0.665 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/0.5725, allocations: 200.6 kB / 0.6652 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.5726, allocations: 31.98 kB / 0.6653 GB, free: 9.129 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008386/0.5734, allocations: 0.666 MB / 0.6659 GB, free: 8.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5734, allocations: 0 / 0.6659 GB, free: 8.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002085/0.5755, allocations: 0.7723 MB / 0.6667 GB, free: 7.684 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (70): * Single equations (assignments): 69 * 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.0002444/0.5758, allocations: 135.1 kB / 0.6668 GB, free: 7.539 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.5882, allocations: 4.873 MB / 0.6715 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5882, allocations: 0 / 0.6715 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005131/0.5934, allocations: 1.822 MB / 0.6733 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.5941, allocations: 104.2 kB / 0.6734 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.598, allocations: 2.752 MB / 0.6761 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.5987, allocations: 1.196 MB / 0.6773 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.5993, allocations: 124.1 kB / 0.6774 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.5995, allocations: 79.42 kB / 0.6775 GB, free: 12.51 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5995, allocations: 0 / 0.6775 GB, free: 12.51 MB / 490.7 MB Notification: Performance of Templates: time 0.04306/0.6426, allocations: 29.98 MB / 0.7068 GB, free: 14.52 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)