Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.364/1.364, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.001379/0.001378, allocations: 179.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4874/0.4874, allocations: 78.55 MB / 420.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003875, allocations: 12 kB / 0.4887 GB, free: 6.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.15, allocations: 69.36 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.2727/0.4227, allocations: 7.077 MB / 0.5633 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.4268, allocations: 2.297 MB / 0.5656 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.4276, allocations: 24.94 kB / 0.5656 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.4283, allocations: 214.2 kB / 0.5658 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.4299, allocations: 0.6721 MB / 0.5664 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.4314, allocations: 0.7654 MB / 0.5672 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.433, allocations: 1.705 MB / 0.5689 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.4336, allocations: 465.4 kB / 0.5693 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008518/0.4344, allocations: 0.6022 MB / 0.5699 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.4352, allocations: 0.7741 MB / 0.5706 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.4354, allocations: 63.56 kB / 0.5707 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.4358, allocations: 188.6 kB / 0.5709 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.436, allocations: 286.5 kB / 0.5712 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.4365, allocations: 0.6928 MB / 0.5718 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.4377, allocations: 1.805 MB / 0.5736 GB, free: 32.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4378, allocations: 0 / 0.5736 GB, free: 32.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4378, allocations: 3.938 kB / 0.5736 GB, free: 32.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4378, allocations: 1.469 kB / 0.5736 GB, free: 32.37 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.007725/0.4455, allocations: 2.67 MB / 0.5762 GB, free: 31.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4456, allocations: 8.656 kB / 0.5762 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.4505, allocations: 0.8082 MB / 0.577 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.452, allocations: 0.9812 MB / 0.578 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.4523, allocations: 248.8 kB / 0.5782 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.4525, allocations: 99.19 kB / 0.5783 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.4552, allocations: 1.519 MB / 0.5798 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4553, allocations: 7 kB / 0.5798 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4554, allocations: 41.59 kB / 0.5798 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.4554, allocations: 25.84 kB / 0.5799 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.458, allocations: 1.418 MB / 0.5812 GB, free: 30.45 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.006072/0.4641, allocations: 4.417 MB / 0.5856 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.4678, allocations: 2.066 MB / 0.5876 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.4697, allocations: 0.9624 MB / 0.5885 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.4698, allocations: 29.27 kB / 0.5885 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4699, allocations: 44.59 kB / 0.5886 GB, free: 26.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.955e-06/0.4699, allocations: 0 / 0.5886 GB, free: 26.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03215/0.502, allocations: 9.165 MB / 0.5975 GB, free: 24.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.5022, allocations: 152.1 kB / 0.5977 GB, free: 24.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.5049, allocations: 1.133 MB / 0.5988 GB, free: 24.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.5053, allocations: 49.7 kB / 0.5988 GB, free: 24.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/0.506, allocations: 0.6092 MB / 0.5994 GB, free: 23.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008257/0.5069, allocations: 412.7 kB / 0.5998 GB, free: 23.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005036/0.5074, allocations: 128.5 kB / 0.5999 GB, free: 23.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.5075, allocations: 302.6 kB / 0.6002 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.5099, allocations: 0.9373 MB / 0.6011 GB, free: 22.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.5124, allocations: 1.084 MB / 0.6022 GB, free: 22.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02364/0.5361, allocations: 5.689 MB / 0.6078 GB, free: 20.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.5362, allocations: 1.062 kB / 0.6078 GB, free: 20.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01959/0.5558, allocations: 5.673 MB / 0.6133 GB, free: 19.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.5559, allocations: 207.9 kB / 0.6135 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5559, allocations: 4 kB / 0.6135 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006832/0.5628, allocations: 2.228 MB / 0.6157 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5641, allocations: 244.1 kB / 0.6159 GB, free: 16.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/0.5868, allocations: 10.3 MB / 0.626 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.589, allocations: 258.7 kB / 0.6262 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/0.5894, allocations: 51.98 kB / 0.6263 GB, free: 5.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5895, allocations: 4 kB / 0.6263 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01502/0.6045, allocations: 5.44 MB / 0.6316 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.6046, allocations: 7.938 kB / 0.6316 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007055/0.6116, allocations: 2.228 MB / 0.6338 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6128, allocations: 227.7 kB / 0.634 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/0.6368, allocations: 10.29 MB / 0.644 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.6387, allocations: 226.8 kB / 0.6442 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.639, allocations: 51.98 kB / 0.6443 GB, free: 3.195 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.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: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * 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.0009695/0.64, allocations: 387.2 kB / 0.6447 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.6405, allocations: 150.9 kB / 0.6448 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.6564, allocations: 5.278 MB / 0.65 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.6564, allocations: 12 kB / 0.65 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6565, allocations: 4 kB / 0.65 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.6565, allocations: 7.984 kB / 0.65 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.676, allocations: 7.188 MB / 0.657 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.6761, allocations: 5.891 kB / 0.657 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008819/0.677, allocations: 143.8 kB / 0.6571 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006823/0.6838, allocations: 2.163 MB / 0.6593 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/0.6841, allocations: 24 kB / 0.6593 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/0.705, allocations: 8.844 MB / 0.6679 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7051, allocations: 4.719 kB / 0.6679 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/0.7241, allocations: 6.51 MB / 0.6743 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/0.7247, allocations: 236.2 kB / 0.6745 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.7252, allocations: 27.94 kB / 0.6745 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.7268, allocations: 163.8 kB / 0.6747 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/0.7275, allocations: 208.6 kB / 0.6749 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7276, allocations: 37.95 kB / 0.6749 GB, free: 3.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001293/0.7289, allocations: 0.7625 MB / 0.6757 GB, free: 2.734 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7289, allocations: 0 / 0.6757 GB, free: 2.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002706/0.7316, allocations: 0.8151 MB / 0.6765 GB, free: 1.918 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.transferFunction.x_scaled[1],tGTypeVI.derivative.x) * 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 (78): * Single equations (assignments): 77 * 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.0003354/0.732, allocations: 141.1 kB / 0.6766 GB, free: 1.773 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01379/0.7458, allocations: 5.081 MB / 0.6816 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7458, allocations: 4 kB / 0.6816 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005537/0.7514, allocations: 1.898 MB / 0.6834 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7531, allocations: 172.5 kB / 0.6836 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.7587, allocations: 3.147 MB / 0.6867 GB, free: 7.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.7599, allocations: 1.221 MB / 0.6879 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008137/0.7607, allocations: 171.6 kB / 0.688 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.761, allocations: 79.42 kB / 0.6881 GB, free: 5.957 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7611, allocations: 0 / 0.6881 GB, free: 5.957 MB / 494.1 MB Notification: Performance of Templates: time 0.05428/0.8153, allocations: 32.15 MB / 0.7195 GB, free: 5.941 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1) Environment - environmentSimulation: