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.0009946/0.0009946, allocations: 175.3 kB / 16.07 MB, free: 5.531 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.278/1.278, allocations: 222.9 MB / 239.7 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 101.4 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4897/0.4897, allocations: 78.42 MB / 419.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 11.94 kB / 499.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 68.73 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.005719/0.3052, allocations: 7.256 MB / 0.5616 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.3088, allocations: 2.154 MB / 0.5637 GB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/0.3097, allocations: 19.94 kB / 0.5637 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.3104, allocations: 194.7 kB / 0.5639 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.3121, allocations: 0.6444 MB / 0.5645 GB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3134, allocations: 0.728 MB / 0.5652 GB, free: 9.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.3148, allocations: 1.53 MB / 0.5667 GB, free: 7.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.3154, allocations: 413.9 kB / 0.5671 GB, free: 7.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3165, allocations: 0.5558 MB / 0.5677 GB, free: 6.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/0.3173, allocations: 0.7072 MB / 0.5684 GB, free: 5.953 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3174, allocations: 56 kB / 0.5684 GB, free: 5.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.3179, allocations: 191.9 kB / 0.5686 GB, free: 5.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3181, allocations: 250.6 kB / 0.5688 GB, free: 5.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.3185, allocations: 0.6247 MB / 0.5694 GB, free: 4.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.3194, allocations: 1.305 MB / 0.5707 GB, free: 3.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3194, allocations: 0 / 0.5707 GB, free: 3.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3195, allocations: 4 kB / 0.5707 GB, free: 3.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3195, allocations: 0 / 0.5707 GB, free: 3.523 MB / 378.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.006676/0.3262, allocations: 2.443 MB / 0.5731 GB, free: 1.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3262, allocations: 8.031 kB / 0.5731 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/0.3309, allocations: 0.7941 MB / 0.5739 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.3323, allocations: 0.8745 MB / 0.5747 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.3326, allocations: 234.4 kB / 0.575 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.3328, allocations: 103.9 kB / 0.5751 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.3353, allocations: 1.337 MB / 0.5764 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3353, allocations: 7.938 kB / 0.5764 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.3354, allocations: 36 kB / 0.5764 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.3355, allocations: 24 kB / 0.5764 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.3379, allocations: 1.195 MB / 0.5776 GB, free: 12.29 MB / 394.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.006284/0.3442, allocations: 4.248 MB / 0.5818 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.3473, allocations: 1.699 MB / 0.5834 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.3488, allocations: 0.8242 MB / 0.5842 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3489, allocations: 12.98 kB / 0.5842 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.349, allocations: 51.56 kB / 0.5843 GB, free: 5.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.136e-06/0.349, allocations: 0 / 0.5843 GB, free: 5.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=107): time 0.02818/0.3772, allocations: 7.324 MB / 0.5914 GB, free: 13.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.3773, allocations: 115.8 kB / 0.5915 GB, free: 13.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3787, allocations: 1.018 MB / 0.5925 GB, free: 12.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.3789, allocations: 45.7 kB / 0.5926 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.3793, allocations: 0.567 MB / 0.5931 GB, free: 12.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.3797, allocations: 382.5 kB / 0.5935 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3798, allocations: 117.6 kB / 0.5936 GB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.38, allocations: 357.9 kB / 0.594 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.3816, allocations: 0.7372 MB / 0.5947 GB, free: 10.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3834, allocations: 0.9476 MB / 0.5956 GB, free: 9.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.4019, allocations: 4.921 MB / 0.6004 GB, free: 4.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4019, allocations: 0 / 0.6004 GB, free: 4.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01432/0.4163, allocations: 4.561 MB / 0.6049 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.4165, allocations: 204.7 kB / 0.6051 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4165, allocations: 4 kB / 0.6051 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006318/0.4228, allocations: 1.905 MB / 0.6069 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4239, allocations: 215.7 kB / 0.6071 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.445, allocations: 9.175 MB / 0.6161 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4466, allocations: 186.7 kB / 0.6163 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4467, allocations: 47.98 kB / 0.6163 GB, free: 3.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.4467, allocations: 0 / 0.6163 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.4604, allocations: 4.374 MB / 0.6206 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4604, allocations: 4 kB / 0.6206 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/0.4666, allocations: 1.901 MB / 0.6224 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/0.4676, allocations: 203.7 kB / 0.6226 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.4886, allocations: 9.162 MB / 0.6316 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4901, allocations: 163 kB / 0.6317 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4903, allocations: 47.98 kB / 0.6318 GB, free: 3.938 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.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.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.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: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006364/0.4909, allocations: 362.3 kB / 0.6321 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.4912, allocations: 130.4 kB / 0.6323 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.5047, allocations: 4.215 MB / 0.6364 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.5048, allocations: 12 kB / 0.6364 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5048, allocations: 0 / 0.6364 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.5048, allocations: 3.984 kB / 0.6364 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.5204, allocations: 5.975 MB / 0.6422 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.5205, allocations: 7.984 kB / 0.6422 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.5212, allocations: 115.8 kB / 0.6423 GB, free: 8.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005998/0.5272, allocations: 1.839 MB / 0.6441 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.5274, allocations: 23.98 kB / 0.6442 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.5456, allocations: 7.856 MB / 0.6518 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5456, allocations: 7.984 kB / 0.6518 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.5612, allocations: 5.173 MB / 0.6569 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.5617, allocations: 223.1 kB / 0.6571 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5619, allocations: 23.94 kB / 0.6571 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5629, allocations: 99.88 kB / 0.6572 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/0.5635, allocations: 204.6 kB / 0.6574 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.5636, allocations: 24 kB / 0.6574 GB, free: 9.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008412/0.5644, allocations: 0.6738 MB / 0.6581 GB, free: 8.625 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5644, allocations: 3.938 kB / 0.6581 GB, free: 8.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001945/0.5664, allocations: 0.7801 MB / 0.6589 GB, free: 7.84 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.5667, allocations: 131.2 kB / 0.659 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.5783, allocations: 4.358 MB / 0.6632 GB, free: 3.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5784, allocations: 0 / 0.6632 GB, free: 3.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.583, allocations: 1.583 MB / 0.6648 GB, free: 1.727 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5841, allocations: 134.1 kB / 0.6649 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.5883, allocations: 2.815 MB / 0.6677 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.589, allocations: 1.161 MB / 0.6688 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.5893, allocations: 79.42 kB / 0.6689 GB, free: 13.48 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5893, allocations: 0 / 0.6689 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Templates: time 0.2291/0.8185, allocations: 23.58 MB / 0.6919 GB, free: 114.8 MB / 490.7 MB 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)