Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.241/1.241, allocations: 223.2 MB / 238.9 MB, free: 5.426 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.001253/0.001252, allocations: 184.6 kB / 290.2 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4252/0.4252, allocations: 78.52 MB / 419.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12 kB / 499.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 69.35 MB / 0.5557 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.1983/0.3132, allocations: 6.066 MB / 0.5616 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.317, allocations: 2.076 MB / 0.5636 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009364/0.318, allocations: 22.94 kB / 0.5637 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.3186, allocations: 169.2 kB / 0.5638 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3208, allocations: 0.6638 MB / 0.5645 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3225, allocations: 0.6135 MB / 0.5651 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3242, allocations: 1.026 MB / 0.5661 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3247, allocations: 353.9 kB / 0.5664 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.3253, allocations: 0.5398 MB / 0.5669 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.3259, allocations: 0.6603 MB / 0.5676 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.326, allocations: 57.28 kB / 0.5676 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3264, allocations: 172 kB / 0.5678 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.3266, allocations: 235.6 kB / 0.568 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3268, allocations: 248.2 kB / 0.5683 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.3277, allocations: 1.273 MB / 0.5695 GB, free: 35.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.3278, allocations: 0.625 kB / 0.5695 GB, free: 35.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3278, allocations: 0 / 0.5695 GB, free: 35.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.3278, allocations: 1.969 kB / 0.5695 GB, free: 35.77 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.006938/0.3347, allocations: 2.517 MB / 0.572 GB, free: 34.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3348, allocations: 11.16 kB / 0.572 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.3395, allocations: 0.8125 MB / 0.5728 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3407, allocations: 0.834 MB / 0.5736 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3409, allocations: 240.7 kB / 0.5738 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3411, allocations: 99.38 kB / 0.5739 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.3433, allocations: 1.408 MB / 0.5753 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3433, allocations: 0 / 0.5753 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.807e-05/0.3434, allocations: 39.91 kB / 0.5753 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3434, allocations: 25.34 kB / 0.5753 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.3456, allocations: 1.287 MB / 0.5766 GB, free: 33.05 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.004963/0.3506, allocations: 4.307 MB / 0.5808 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.3534, allocations: 1.845 MB / 0.5826 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3535, allocations: 11.88 kB / 0.5826 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3535, allocations: 49.22 kB / 0.5827 GB, free: 29.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.665e-06/0.3535, allocations: 0 / 0.5827 GB, free: 29.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.02844/0.3819, allocations: 9.015 MB / 0.5915 GB, free: 27.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.382, allocations: 118.4 kB / 0.5916 GB, free: 27.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.3834, allocations: 1.006 MB / 0.5926 GB, free: 27.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.3836, allocations: 46.27 kB / 0.5926 GB, free: 27.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3839, allocations: 0.5616 MB / 0.5932 GB, free: 26.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.3842, allocations: 383.5 kB / 0.5935 GB, free: 26.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.3843, allocations: 25.38 kB / 0.5935 GB, free: 26.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.3844, allocations: 354 kB / 0.5939 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.386, allocations: 0.8178 MB / 0.5947 GB, free: 25.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.3877, allocations: 1.004 MB / 0.5957 GB, free: 25.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.3894, allocations: 0.8892 MB / 0.5965 GB, free: 25.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.3894, allocations: 1.75 kB / 0.5965 GB, free: 25.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01521/0.4046, allocations: 5.5 MB / 0.6019 GB, free: 23.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.4049, allocations: 1.497 MB / 0.6034 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4049, allocations: 3.594 kB / 0.6034 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006895/0.4118, allocations: 2.231 MB / 0.6055 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4129, allocations: 220.2 kB / 0.6058 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/0.4355, allocations: 10.76 MB / 0.6163 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4371, allocations: 226.7 kB / 0.6165 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4372, allocations: 47.98 kB / 0.6165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.4373, allocations: 5.094 kB / 0.6165 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01307/0.4503, allocations: 5.296 MB / 0.6217 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4504, allocations: 4 kB / 0.6217 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.4563, allocations: 2.224 MB / 0.6239 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.4573, allocations: 209.1 kB / 0.6241 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.4785, allocations: 10.73 MB / 0.6346 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4801, allocations: 212 kB / 0.6348 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.4802, allocations: 43.98 kB / 0.6348 GB, free: 12.59 MB / 446.1 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.0006487/0.4809, allocations: 364.5 kB / 0.6352 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.4811, allocations: 130.4 kB / 0.6353 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.4955, allocations: 5.177 MB / 0.6403 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.4955, allocations: 12 kB / 0.6403 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4955, allocations: 3.953 kB / 0.6404 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.4956, allocations: 3.984 kB / 0.6404 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.5119, allocations: 6.936 MB / 0.6471 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.512, allocations: 4 kB / 0.6471 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.5126, allocations: 123.8 kB / 0.6472 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.519, allocations: 2.164 MB / 0.6494 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.5192, allocations: 25.44 kB / 0.6494 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.5391, allocations: 9.304 MB / 0.6585 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5391, allocations: 0 / 0.6585 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.5552, allocations: 6.213 MB / 0.6645 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/0.5557, allocations: 227.1 kB / 0.6648 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.556, allocations: 20 kB / 0.6648 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.5571, allocations: 139.9 kB / 0.6649 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/0.5576, allocations: 212.6 kB / 0.6651 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.5577, allocations: 24 kB / 0.6651 GB, free: 13.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008271/0.5586, allocations: 0.666 MB / 0.6658 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5586, allocations: 0 / 0.6658 GB, free: 12.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002106/0.5607, allocations: 0.7723 MB / 0.6665 GB, free: 11.75 MB / 478.1 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.0002604/0.561, allocations: 141.5 kB / 0.6667 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01187/0.5728, allocations: 4.872 MB / 0.6714 GB, free: 6.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5729, allocations: 0 / 0.6714 GB, free: 6.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004778/0.5777, allocations: 1.821 MB / 0.6732 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.5785, allocations: 115.9 kB / 0.6733 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.5824, allocations: 2.754 MB / 0.676 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.5831, allocations: 1.188 MB / 0.6772 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000537/0.5837, allocations: 125.5 kB / 0.6773 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5839, allocations: 71.42 kB / 0.6774 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5839, allocations: 0 / 0.6774 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of Templates: time 0.0432/0.6271, allocations: 29.99 MB / 0.7066 GB, free: 2.766 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1) Environment - environmentSimulation: