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.0009249/0.0009249, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.275/1.275, allocations: 223.2 MB / 238.9 MB, free: 5.473 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.001035/0.001035, allocations: 184.1 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4279/0.4279, allocations: 78.53 MB / 419.8 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004182, allocations: 12 kB / 499.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 69.35 MB / 0.5557 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.2043/0.3314, allocations: 6.359 MB / 0.5619 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.3354, allocations: 2.242 MB / 0.5641 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.3364, allocations: 22.62 kB / 0.5641 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.3371, allocations: 191.9 kB / 0.5643 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.3393, allocations: 0.7011 MB / 0.565 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3408, allocations: 0.6542 MB / 0.5656 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.3427, allocations: 1.133 MB / 0.5667 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.3434, allocations: 395.5 kB / 0.5671 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.3443, allocations: 0.5995 MB / 0.5677 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008996/0.3452, allocations: 0.7256 MB / 0.5684 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3454, allocations: 59.5 kB / 0.5684 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.346, allocations: 175.8 kB / 0.5686 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.3463, allocations: 268.9 kB / 0.5689 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.3468, allocations: 270.1 kB / 0.5691 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3485, allocations: 1.378 MB / 0.5705 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3485, allocations: 2.719 kB / 0.5705 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3485, allocations: 0 / 0.5705 GB, free: 35.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.665e-05/0.3486, allocations: 0 / 0.5705 GB, free: 35.75 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.007817/0.3564, allocations: 2.688 MB / 0.5731 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3564, allocations: 9.406 kB / 0.5731 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.3613, allocations: 0.8126 MB / 0.5739 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.363, allocations: 0.9281 MB / 0.5748 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3633, allocations: 250.8 kB / 0.575 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.3635, allocations: 99.72 kB / 0.5751 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.3661, allocations: 1.507 MB / 0.5766 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3661, allocations: 0 / 0.5766 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3662, allocations: 50.3 kB / 0.5767 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3663, allocations: 24.53 kB / 0.5767 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.3689, allocations: 1.412 MB / 0.5781 GB, free: 32.54 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.006128/0.375, allocations: 4.41 MB / 0.5824 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.3783, allocations: 2.061 MB / 0.5844 GB, free: 28.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3785, allocations: 23.75 kB / 0.5844 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3785, allocations: 43.09 kB / 0.5844 GB, free: 28.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/0.3785, allocations: 4 kB / 0.5844 GB, free: 28.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03017/0.4087, allocations: 9.114 MB / 0.5933 GB, free: 27.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4088, allocations: 142 kB / 0.5935 GB, free: 27.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.4104, allocations: 1.119 MB / 0.5946 GB, free: 26.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.4107, allocations: 45.33 kB / 0.5946 GB, free: 26.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.4111, allocations: 0.6123 MB / 0.5952 GB, free: 26.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.4114, allocations: 420.5 kB / 0.5956 GB, free: 25.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.4115, allocations: 25.5 kB / 0.5956 GB, free: 25.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.4116, allocations: 363.7 kB / 0.596 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.4135, allocations: 0.9316 MB / 0.5969 GB, free: 25.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.4153, allocations: 1.072 MB / 0.5979 GB, free: 24.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4172, allocations: 0.9624 MB / 0.5989 GB, free: 24.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4172, allocations: 1.812 kB / 0.5989 GB, free: 24.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01643/0.4337, allocations: 5.643 MB / 0.6044 GB, free: 22.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.434, allocations: 1.596 MB / 0.606 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.434, allocations: 7.875 kB / 0.606 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007436/0.4415, allocations: 2.23 MB / 0.6081 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.4429, allocations: 241.4 kB / 0.6084 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.4664, allocations: 10.78 MB / 0.6189 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.4683, allocations: 258.7 kB / 0.6191 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.4685, allocations: 53.11 kB / 0.6192 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.4685, allocations: 4 kB / 0.6192 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/0.4825, allocations: 5.433 MB / 0.6245 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.4826, allocations: 4 kB / 0.6245 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.489, allocations: 2.234 MB / 0.6267 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4902, allocations: 227.6 kB / 0.6269 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.5134, allocations: 10.75 MB / 0.6374 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.5152, allocations: 231.8 kB / 0.6376 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.5154, allocations: 47.98 kB / 0.6377 GB, free: 9.621 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.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.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.integrator.y:VARIABLE(flow=false start = tGTypeVI.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: 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 (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.0007984/0.5162, allocations: 402.4 kB / 0.6381 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.5165, allocations: 142.2 kB / 0.6382 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.5316, allocations: 5.267 MB / 0.6433 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5316, allocations: 12 kB / 0.6433 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5316, allocations: 8.828 kB / 0.6434 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.5317, allocations: 5.438 kB / 0.6434 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.5494, allocations: 7.188 MB / 0.6504 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.5494, allocations: 0 / 0.6504 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.5503, allocations: 143.8 kB / 0.6505 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006523/0.5568, allocations: 2.163 MB / 0.6526 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.5571, allocations: 20.81 kB / 0.6526 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.5775, allocations: 9.31 MB / 0.6617 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5775, allocations: 0 / 0.6617 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/0.5946, allocations: 6.513 MB / 0.6681 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.5951, allocations: 235 kB / 0.6683 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.5954, allocations: 27.95 kB / 0.6683 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.5967, allocations: 159.9 kB / 0.6685 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/0.5973, allocations: 218.9 kB / 0.6687 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/0.5974, allocations: 28 kB / 0.6687 GB, free: 9.473 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.5985, allocations: 0.7507 MB / 0.6695 GB, free: 8.719 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5985, allocations: 0 / 0.6695 GB, free: 8.719 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002274/0.6008, allocations: 0.8228 MB / 0.6703 GB, free: 7.895 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 (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.0002848/0.6011, allocations: 136.2 kB / 0.6704 GB, free: 7.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01266/0.6137, allocations: 5.081 MB / 0.6754 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6138, allocations: 1.125 kB / 0.6754 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00503/0.6188, allocations: 1.887 MB / 0.6772 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.62, allocations: 141.3 kB / 0.6773 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.6246, allocations: 3.025 MB / 0.6803 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.6254, allocations: 1.252 MB / 0.6815 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.6261, allocations: 168.1 kB / 0.6817 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.6264, allocations: 79.42 kB / 0.6818 GB, free: 12.08 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6264, allocations: 0 / 0.6818 GB, free: 12.08 MB / 494.1 MB Notification: Performance of Templates: time 0.0424/0.6688, allocations: 31.22 MB / 0.7122 GB, free: 13 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: