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.004482/0.004482, allocations: 169.1 kB / 15.13 MB, free: 6.031 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.349/1.349, allocations: 223.3 MB / 239.1 MB, free: 1.73 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.0007823/0.0007823, allocations: 84.14 kB / 290.3 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 78.62 MB / 420 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 500 MB, free: 2.863 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 69.34 MB / 0.556 GB, free: 38.93 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005025/0.334, allocations: 5.818 MB / 0.5617 GB, free: 37.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.3372, allocations: 1.895 MB / 0.5635 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3377, allocations: 12.16 kB / 0.5635 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.3382, allocations: 165.5 kB / 0.5637 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.3395, allocations: 0.5975 MB / 0.5643 GB, free: 35.99 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3406, allocations: 0.548 MB / 0.5648 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3418, allocations: 1.308 MB / 0.5661 GB, free: 35.05 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.3422, allocations: 264.2 kB / 0.5663 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.3428, allocations: 0.5147 MB / 0.5668 GB, free: 34.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.3434, allocations: 0.6425 MB / 0.5675 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3436, allocations: 57.28 kB / 0.5675 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.344, allocations: 177.6 kB / 0.5677 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3442, allocations: 219.2 kB / 0.5679 GB, free: 34.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.3443, allocations: 220.7 kB / 0.5681 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.3451, allocations: 1.144 MB / 0.5692 GB, free: 33.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3451, allocations: 2.625 kB / 0.5692 GB, free: 33.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3451, allocations: 0 / 0.5692 GB, free: 33.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3451, allocations: 0 / 0.5692 GB, free: 33.75 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.007006/0.3521, allocations: 2.392 MB / 0.5716 GB, free: 32.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3522, allocations: 11.5 kB / 0.5716 GB, free: 32.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3523, allocations: 118 kB / 0.5717 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.357, allocations: 0.7829 MB / 0.5725 GB, free: 32.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3581, allocations: 0.7731 MB / 0.5732 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.3583, allocations: 231.9 kB / 0.5734 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3585, allocations: 82.25 kB / 0.5735 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.3605, allocations: 1.202 MB / 0.5747 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3606, allocations: 3.953 kB / 0.5747 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.3607, allocations: 26.25 kB / 0.5747 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3607, allocations: 18.59 kB / 0.5747 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.3628, allocations: 1.169 MB / 0.5759 GB, free: 30.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.004547/0.3674, allocations: 3.208 MB / 0.579 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.3701, allocations: 1.742 MB / 0.5807 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.3715, allocations: 0.8307 MB / 0.5815 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-05/0.3716, allocations: 16.98 kB / 0.5815 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3716, allocations: 49.31 kB / 0.5816 GB, free: 27.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.957e-06/0.3716, allocations: 4 kB / 0.5816 GB, free: 27.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02833/0.4, allocations: 8.723 MB / 0.5901 GB, free: 26.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4001, allocations: 99.38 kB / 0.5902 GB, free: 26.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4014, allocations: 0.9324 MB / 0.5911 GB, free: 25.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.4016, allocations: 40.73 kB / 0.5911 GB, free: 25.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.4019, allocations: 490.5 kB / 0.5916 GB, free: 25.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.4022, allocations: 335.9 kB / 0.5919 GB, free: 25.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.4023, allocations: 24.28 kB / 0.592 GB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.4024, allocations: 347.6 kB / 0.5923 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.4039, allocations: 0.7748 MB / 0.593 GB, free: 24.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4056, allocations: 0.9094 MB / 0.5939 GB, free: 24.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.4073, allocations: 0.8215 MB / 0.5947 GB, free: 23.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4073, allocations: 1.219 kB / 0.5947 GB, free: 23.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01605/0.4233, allocations: 5.336 MB / 0.5999 GB, free: 22.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.4235, allocations: 155.2 kB / 0.6001 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4235, allocations: 2.344 kB / 0.6001 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/0.4309, allocations: 2.227 MB / 0.6023 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/0.4319, allocations: 176.7 kB / 0.6024 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/0.4553, allocations: 10.25 MB / 0.6124 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.4572, allocations: 220 kB / 0.6127 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.4573, allocations: 38.86 kB / 0.6127 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4573, allocations: 9.828 kB / 0.6127 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01397/0.4713, allocations: 5.184 MB / 0.6178 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.4714, allocations: 0 / 0.6178 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/0.4778, allocations: 2.222 MB / 0.6199 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.4787, allocations: 171.7 kB / 0.6201 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.4994, allocations: 10.23 MB / 0.6301 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.5011, allocations: 203 kB / 0.6303 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.5012, allocations: 43.89 kB / 0.6303 GB, free: 13.63 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 (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.0006945/0.5019, allocations: 318.2 kB / 0.6306 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5022, allocations: 114.6 kB / 0.6307 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5172, allocations: 5.03 MB / 0.6356 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.5173, allocations: 8 kB / 0.6357 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.5173, allocations: 0 / 0.6357 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.5173, allocations: 3.984 kB / 0.6357 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.5347, allocations: 6.685 MB / 0.6422 GB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.5347, allocations: 0 / 0.6422 GB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.5353, allocations: 87.91 kB / 0.6423 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006729/0.5421, allocations: 2.151 MB / 0.6444 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.5422, allocations: 20 kB / 0.6444 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.5625, allocations: 8.829 MB / 0.653 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5625, allocations: 0 / 0.653 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.5796, allocations: 6.028 MB / 0.6589 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.5801, allocations: 211.5 kB / 0.6591 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.5803, allocations: 19.95 kB / 0.6591 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5814, allocations: 147.8 kB / 0.6593 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/0.582, allocations: 200.6 kB / 0.6595 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.5821, allocations: 20 kB / 0.6595 GB, free: 15.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009652/0.5831, allocations: 0.6391 MB / 0.6601 GB, free: 14.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5831, allocations: 4 kB / 0.6601 GB, free: 14.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001964/0.5851, allocations: 0.7179 MB / 0.6608 GB, free: 14.05 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 (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.01754/0.6026, allocations: 6.6 MB / 0.6672 GB, free: 7.418 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.6155, allocations: 4.697 MB / 0.6718 GB, free: 2.703 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6155, allocations: 0 / 0.6718 GB, free: 2.703 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005125/0.6207, allocations: 1.772 MB / 0.6736 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6218, allocations: 96.3 kB / 0.6737 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.6487, allocations: 11.76 MB / 0.6851 GB, free: 4.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.6494, allocations: 1.117 MB / 0.6862 GB, free: 3.594 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.6499, allocations: 115.1 kB / 0.6863 GB, free: 3.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.6505, allocations: 431.3 kB / 0.6867 GB, free: 3.055 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6505, allocations: 0 / 0.6867 GB, free: 3.055 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/0.7123, allocations: 38.43 MB / 0.7243 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.7125, allocations: 214.2 kB / 0.7245 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/3.998, allocations: 0 / 0.7245 GB, free: 12.55 MB / 0.5261 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)