Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.446/1.446, allocations: 223.2 MB / 239 MB, free: 5.629 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.001327/0.001327, allocations: 184.5 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5261/0.5261, allocations: 78.56 MB / 419.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 16 kB / 499.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1669, allocations: 69.36 MB / 0.5559 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.3005/0.4674, allocations: 5.814 MB / 0.5616 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.4715, allocations: 1.88 MB / 0.5634 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.472, allocations: 16.91 kB / 0.5634 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.4726, allocations: 170.5 kB / 0.5636 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.4741, allocations: 0.59 MB / 0.5642 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4752, allocations: 0.5526 MB / 0.5647 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.4764, allocations: 1.306 MB / 0.566 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.4768, allocations: 258.8 kB / 0.5662 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.4774, allocations: 0.5199 MB / 0.5667 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.478, allocations: 0.64 MB / 0.5674 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4781, allocations: 54.62 kB / 0.5674 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.4786, allocations: 178.8 kB / 0.5676 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.4788, allocations: 223.3 kB / 0.5678 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.479, allocations: 221.6 kB / 0.568 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4802, allocations: 1.135 MB / 0.5691 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4802, allocations: 4.625 kB / 0.5691 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4802, allocations: 0 / 0.5691 GB, free: 35.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4802, allocations: 0 / 0.5691 GB, free: 35.82 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00663/0.4869, allocations: 2.392 MB / 0.5715 GB, free: 34.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4869, allocations: 12.06 kB / 0.5715 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/0.4871, allocations: 126.9 kB / 0.5716 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.4915, allocations: 0.7822 MB / 0.5724 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4927, allocations: 0.7726 MB / 0.5731 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.4929, allocations: 228.2 kB / 0.5733 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4931, allocations: 83.42 kB / 0.5734 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.4952, allocations: 1.2 MB / 0.5746 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4952, allocations: 0.7969 kB / 0.5746 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4953, allocations: 36.36 kB / 0.5746 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4954, allocations: 18.09 kB / 0.5746 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.4975, allocations: 1.161 MB / 0.5758 GB, free: 33.93 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.004599/0.5021, allocations: 3.208 MB / 0.5789 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.5047, allocations: 1.734 MB / 0.5806 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.506, allocations: 0.8439 MB / 0.5814 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.5061, allocations: 12.11 kB / 0.5814 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.5062, allocations: 44.88 kB / 0.5815 GB, free: 30.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.595e-06/0.5062, allocations: 0 / 0.5815 GB, free: 30.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02728/0.5335, allocations: 8.722 MB / 0.59 GB, free: 29.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.5336, allocations: 95.25 kB / 0.5901 GB, free: 29.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.5359, allocations: 0.942 MB / 0.591 GB, free: 28.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005197/0.5365, allocations: 41.05 kB / 0.591 GB, free: 28.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.537, allocations: 493.5 kB / 0.5915 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.5374, allocations: 337.3 kB / 0.5918 GB, free: 28.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.5375, allocations: 24.06 kB / 0.5919 GB, free: 28.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5377, allocations: 346.7 kB / 0.5922 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.5395, allocations: 0.7766 MB / 0.5929 GB, free: 27.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.5413, allocations: 0.9014 MB / 0.5938 GB, free: 27.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.543, allocations: 0.8303 MB / 0.5946 GB, free: 26.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.543, allocations: 1.031 kB / 0.5946 GB, free: 26.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01559/0.5586, allocations: 5.334 MB / 0.5998 GB, free: 25.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5588, allocations: 149.3 kB / 0.6 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5588, allocations: 2.953 kB / 0.6 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007041/0.5658, allocations: 2.222 MB / 0.6022 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.5669, allocations: 181.6 kB / 0.6023 GB, free: 25.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/0.5903, allocations: 10.26 MB / 0.6124 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.5922, allocations: 217.3 kB / 0.6126 GB, free: 19.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5923, allocations: 35.56 kB / 0.6126 GB, free: 19.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5924, allocations: 4 kB / 0.6126 GB, free: 19.61 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/0.6049, allocations: 5.179 MB / 0.6177 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.605, allocations: 4.938 kB / 0.6177 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005613/0.6106, allocations: 2.22 MB / 0.6198 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.6116, allocations: 171.7 kB / 0.62 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.6304, allocations: 10.23 MB / 0.63 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.6319, allocations: 195 kB / 0.6302 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.632, allocations: 46.48 kB / 0.6302 GB, free: 1.633 MB / 430.1 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.0006197/0.6327, allocations: 321.2 kB / 0.6305 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.6328, allocations: 114.6 kB / 0.6306 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.6458, allocations: 5.023 MB / 0.6355 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.6458, allocations: 11.95 kB / 0.6355 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6459, allocations: 3.938 kB / 0.6355 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.6459, allocations: 7.984 kB / 0.6356 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6617, allocations: 6.673 MB / 0.6421 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.6618, allocations: 4.875 kB / 0.6421 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.6624, allocations: 99.83 kB / 0.6422 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006195/0.6686, allocations: 2.151 MB / 0.6443 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.6688, allocations: 20 kB / 0.6443 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.6877, allocations: 8.83 MB / 0.6529 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6877, allocations: 0 / 0.6529 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.703, allocations: 6.024 MB / 0.6588 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.7036, allocations: 212.1 kB / 0.659 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.7038, allocations: 16 kB / 0.659 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009961/0.7048, allocations: 147.8 kB / 0.6592 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00066/0.7054, allocations: 200.6 kB / 0.6593 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.7055, allocations: 24.75 kB / 0.6594 GB, free: 3.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.7065, allocations: 0.6352 MB / 0.66 GB, free: 2.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7066, allocations: 0 / 0.66 GB, free: 2.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002299/0.7089, allocations: 0.7218 MB / 0.6607 GB, free: 2.066 MB / 462.1 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.01556/0.7244, allocations: 6.596 MB / 0.6671 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01267/0.7371, allocations: 4.693 MB / 0.6717 GB, free: 6.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.7372, allocations: 0 / 0.6717 GB, free: 6.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004781/0.742, allocations: 1.774 MB / 0.6735 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.7435, allocations: 96.91 kB / 0.6735 GB, free: 4.844 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/0.77, allocations: 11.75 MB / 0.685 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.7709, allocations: 1.113 MB / 0.6861 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005164/0.7715, allocations: 120 kB / 0.6862 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/0.7721, allocations: 431.3 kB / 0.6866 GB, free: 7.121 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7721, allocations: 0 / 0.6866 GB, free: 7.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/0.8368, allocations: 38.44 MB / 0.7242 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.837, allocations: 200.9 kB / 0.7244 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/4.071, allocations: 3.391 kB / 0.7244 GB, free: 0.7852 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: