Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009834/0.0009835, allocations: 180.2 kB / 15.45 MB, free: 6.227 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.352/1.352, allocations: 223.3 MB / 239.5 MB, free: 1.613 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.0007975/0.0007976, allocations: 98.72 kB / 290.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5003/0.5003, allocations: 78.62 MB / 420.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 15.98 kB / 0.4889 GB, free: 2.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3639, allocations: 69.34 MB / 0.5566 GB, free: 39.18 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005716/0.3697, allocations: 6.187 MB / 0.5626 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.3743, allocations: 1.981 MB / 0.5646 GB, free: 35.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3757, allocations: 12.25 kB / 0.5646 GB, free: 35.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007975/0.3766, allocations: 183 kB / 0.5648 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.3789, allocations: 0.647 MB / 0.5654 GB, free: 35.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.3807, allocations: 0.6085 MB / 0.566 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.3842, allocations: 1.386 MB / 0.5673 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006834/0.3849, allocations: 294 kB / 0.5676 GB, free: 34.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.3861, allocations: 0.523 MB / 0.5681 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.387, allocations: 0.6654 MB / 0.5688 GB, free: 33.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3871, allocations: 54.34 kB / 0.5688 GB, free: 33.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.3878, allocations: 186.4 kB / 0.569 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.3881, allocations: 231.7 kB / 0.5692 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.3887, allocations: 0.5745 MB / 0.5698 GB, free: 33.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.39, allocations: 1.451 MB / 0.5712 GB, free: 32.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.39, allocations: 0 / 0.5712 GB, free: 32.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.39, allocations: 2.438 kB / 0.5712 GB, free: 32.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3901, allocations: 0 / 0.5712 GB, free: 32.8 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00718/0.3972, allocations: 2.384 MB / 0.5735 GB, free: 31.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.3973, allocations: 8.625 kB / 0.5735 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003021/0.3976, allocations: 129.9 kB / 0.5737 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.4022, allocations: 0.7808 MB / 0.5744 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.4037, allocations: 0.8145 MB / 0.5752 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4039, allocations: 227.7 kB / 0.5754 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.404, allocations: 78.41 kB / 0.5755 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.4062, allocations: 1.208 MB / 0.5767 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4062, allocations: 0 / 0.5767 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.4063, allocations: 31.12 kB / 0.5767 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.4063, allocations: 18.12 kB / 0.5767 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.4085, allocations: 1.17 MB / 0.5779 GB, free: 29.92 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.004986/0.4135, allocations: 3.218 MB / 0.581 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.4165, allocations: 1.743 MB / 0.5827 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.4179, allocations: 0.8332 MB / 0.5835 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.418, allocations: 24.89 kB / 0.5836 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4181, allocations: 42.38 kB / 0.5836 GB, free: 26.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.186e-06/0.4181, allocations: 2.812 kB / 0.5836 GB, free: 26.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02793/0.446, allocations: 8.779 MB / 0.5922 GB, free: 25.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.4461, allocations: 90.3 kB / 0.5923 GB, free: 25.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4481, allocations: 0.9492 MB / 0.5932 GB, free: 24.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.4484, allocations: 40.48 kB / 0.5932 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.4488, allocations: 493.1 kB / 0.5937 GB, free: 24.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.4493, allocations: 334.1 kB / 0.594 GB, free: 24.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.4496, allocations: 106.1 kB / 0.5941 GB, free: 24.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4497, allocations: 355.3 kB / 0.5945 GB, free: 23.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4514, allocations: 0.7706 MB / 0.5952 GB, free: 23.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.4532, allocations: 0.9146 MB / 0.5961 GB, free: 23.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0197/0.473, allocations: 5.216 MB / 0.6012 GB, free: 21.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.473, allocations: 5.031 kB / 0.6012 GB, free: 21.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01769/0.4907, allocations: 5.366 MB / 0.6065 GB, free: 20.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4909, allocations: 150.2 kB / 0.6066 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4909, allocations: 6.156 kB / 0.6066 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007168/0.4981, allocations: 2.225 MB / 0.6088 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.4991, allocations: 177.8 kB / 0.6089 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.5205, allocations: 10.3 MB / 0.619 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.5221, allocations: 214.9 kB / 0.6192 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.5224, allocations: 39.98 kB / 0.6192 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5224, allocations: 4 kB / 0.6192 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/0.5354, allocations: 5.198 MB / 0.6243 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.5354, allocations: 8 kB / 0.6243 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005986/0.5414, allocations: 2.221 MB / 0.6265 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.5423, allocations: 171.8 kB / 0.6267 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.5649, allocations: 10.25 MB / 0.6367 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5665, allocations: 202.9 kB / 0.6369 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.5668, allocations: 43.98 kB / 0.6369 GB, free: 7.277 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.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: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0008315/0.5676, allocations: 326.1 kB / 0.6372 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.568, allocations: 114.6 kB / 0.6373 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.5819, allocations: 5.03 MB / 0.6422 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.582, allocations: 8 kB / 0.6422 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.582, allocations: 3.938 kB / 0.6423 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.5821, allocations: 7.969 kB / 0.6423 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.5989, allocations: 6.681 MB / 0.6488 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.5989, allocations: 4 kB / 0.6488 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.5996, allocations: 91.89 kB / 0.6489 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00643/0.6061, allocations: 2.155 MB / 0.651 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.6063, allocations: 19.98 kB / 0.651 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/0.6261, allocations: 8.837 MB / 0.6596 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6261, allocations: 0 / 0.6596 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.6426, allocations: 6.036 MB / 0.6655 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.6433, allocations: 207.5 kB / 0.6657 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/0.6437, allocations: 16 kB / 0.6657 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.645, allocations: 147.9 kB / 0.6659 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007109/0.6458, allocations: 196.6 kB / 0.6661 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6459, allocations: 28 kB / 0.6661 GB, free: 9.043 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.6471, allocations: 0.643 MB / 0.6667 GB, free: 8.391 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6471, allocations: 0 / 0.6667 GB, free: 8.391 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002461/0.6495, allocations: 0.7178 MB / 0.6674 GB, free: 7.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.01729/0.6668, allocations: 6.619 MB / 0.6739 GB, free: 1.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/0.6796, allocations: 4.709 MB / 0.6785 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6797, allocations: 0 / 0.6785 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.6845, allocations: 1.773 MB / 0.6802 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.6858, allocations: 96.3 kB / 0.6803 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04321/0.729, allocations: 18.72 MB / 0.6986 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/0.7298, allocations: 1.113 MB / 0.6997 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005734/0.7304, allocations: 119.1 kB / 0.6998 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.7311, allocations: 431.3 kB / 0.7002 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.7311, allocations: 3.938 kB / 0.7002 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/0.7951, allocations: 38.83 MB / 0.7381 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.7954, allocations: 232.8 kB / 0.7383 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/4.123, allocations: 0 / 0.7383 GB, free: 14.68 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)