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.0008557/0.0008556, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.18/1.18, allocations: 223.3 MB / 239.4 MB, free: 5.477 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.0009627/0.0009627, allocations: 188.5 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4023/0.4023, allocations: 78.55 MB / 420.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12 kB / 0.4888 GB, free: 5.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1148, allocations: 69.36 MB / 0.5565 GB, free: 460 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2017/0.3166, allocations: 6.188 MB / 0.5625 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.3198, allocations: 1.968 MB / 0.5645 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009062/0.3207, allocations: 15.94 kB / 0.5645 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.3213, allocations: 181.6 kB / 0.5646 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3226, allocations: 0.6322 MB / 0.5653 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3237, allocations: 0.6181 MB / 0.5659 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.3246, allocations: 1.381 MB / 0.5672 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.325, allocations: 277.7 kB / 0.5675 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.3254, allocations: 0.5338 MB / 0.568 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.3259, allocations: 0.6617 MB / 0.5687 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.326, allocations: 54.38 kB / 0.5687 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.3263, allocations: 189.8 kB / 0.5689 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.3265, allocations: 237.5 kB / 0.5691 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.3268, allocations: 0.5688 MB / 0.5697 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.3277, allocations: 1.455 MB / 0.5711 GB, free: 33.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3277, allocations: 0.6562 kB / 0.5711 GB, free: 33.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3277, allocations: 0 / 0.5711 GB, free: 33.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3278, allocations: 0 / 0.5711 GB, free: 33.34 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.006529/0.3343, allocations: 2.387 MB / 0.5734 GB, free: 32.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3343, allocations: 8.188 kB / 0.5734 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.3345, allocations: 123.6 kB / 0.5735 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/0.3389, allocations: 0.7911 MB / 0.5743 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.3399, allocations: 0.8065 MB / 0.5751 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.34, allocations: 235.7 kB / 0.5753 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3402, allocations: 72.53 kB / 0.5754 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.3421, allocations: 1.206 MB / 0.5766 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3421, allocations: 0 / 0.5766 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.3422, allocations: 27.84 kB / 0.5766 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3423, allocations: 22.47 kB / 0.5766 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.3443, allocations: 1.166 MB / 0.5778 GB, free: 31.67 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.004156/0.3485, allocations: 3.217 MB / 0.5809 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.3511, allocations: 1.747 MB / 0.5826 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.3524, allocations: 0.8408 MB / 0.5834 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.3525, allocations: 15.38 kB / 0.5834 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3526, allocations: 38.28 kB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.154e-06/0.3526, allocations: 3.938 kB / 0.5835 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02781/0.3804, allocations: 8.781 MB / 0.5921 GB, free: 27.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3804, allocations: 88.11 kB / 0.5921 GB, free: 27.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3816, allocations: 0.9475 MB / 0.5931 GB, free: 27.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.3817, allocations: 41.52 kB / 0.5931 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.382, allocations: 493.8 kB / 0.5936 GB, free: 26.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.3823, allocations: 337.5 kB / 0.5939 GB, free: 26.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3825, allocations: 104.2 kB / 0.594 GB, free: 26.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.3825, allocations: 350.4 kB / 0.5943 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.3841, allocations: 0.7734 MB / 0.5951 GB, free: 25.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.3858, allocations: 0.9103 MB / 0.596 GB, free: 25.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.4039, allocations: 5.227 MB / 0.6011 GB, free: 24.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4039, allocations: 0 / 0.6011 GB, free: 24.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01528/0.4192, allocations: 5.37 MB / 0.6063 GB, free: 23.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.4193, allocations: 152.1 kB / 0.6065 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4193, allocations: 2.219 kB / 0.6065 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006844/0.4262, allocations: 2.227 MB / 0.6087 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.4269, allocations: 180.7 kB / 0.6088 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.4476, allocations: 10.28 MB / 0.6189 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4489, allocations: 216.4 kB / 0.6191 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.449, allocations: 39.98 kB / 0.6191 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.449, allocations: 4 kB / 0.6191 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/0.4621, allocations: 5.207 MB / 0.6242 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4621, allocations: 4 kB / 0.6242 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/0.468, allocations: 2.229 MB / 0.6264 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.4686, allocations: 171.7 kB / 0.6265 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.4897, allocations: 10.25 MB / 0.6365 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.491, allocations: 199 kB / 0.6367 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.4911, allocations: 39.98 kB / 0.6368 GB, free: 10.97 MB / 446.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 (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.0004698/0.4915, allocations: 325.6 kB / 0.6371 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.4917, allocations: 114.6 kB / 0.6372 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.5061, allocations: 5.038 MB / 0.6421 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5061, allocations: 9.219 kB / 0.6421 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5061, allocations: 3.938 kB / 0.6421 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.5061, allocations: 8.875 kB / 0.6421 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.5219, allocations: 6.685 MB / 0.6487 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5219, allocations: 0 / 0.6487 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.5224, allocations: 95.84 kB / 0.6488 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006227/0.5286, allocations: 2.156 MB / 0.6509 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.5287, allocations: 19.94 kB / 0.6509 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.5479, allocations: 8.83 MB / 0.6595 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5479, allocations: 4.625 kB / 0.6595 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.5638, allocations: 6.04 MB / 0.6654 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.564, allocations: 204.3 kB / 0.6656 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5642, allocations: 27.98 kB / 0.6656 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5653, allocations: 144.6 kB / 0.6658 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/0.5658, allocations: 188.7 kB / 0.6659 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.5659, allocations: 24 kB / 0.666 GB, free: 12.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009004/0.5668, allocations: 0.643 MB / 0.6666 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5668, allocations: 0 / 0.6666 GB, free: 12.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001761/0.5686, allocations: 0.7139 MB / 0.6673 GB, free: 11.38 MB / 478.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 (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.01634/0.5849, allocations: 6.62 MB / 0.6738 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.5966, allocations: 4.704 MB / 0.6783 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5966, allocations: 416 / 0.6784 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004617/0.6013, allocations: 1.774 MB / 0.6801 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.6021, allocations: 99.38 kB / 0.6802 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04091/0.643, allocations: 18.72 MB / 0.6985 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.6436, allocations: 1.109 MB / 0.6995 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004281/0.644, allocations: 119.1 kB / 0.6997 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.6445, allocations: 431.3 kB / 0.7001 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.6445, allocations: 0 / 0.7001 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/0.701, allocations: 38.83 MB / 0.738 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.7013, allocations: 228.1 kB / 0.7382 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.109, allocations: 0 / 0.7382 GB, free: 2.594 MB / 0.5294 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/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)