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.004688/0.004688, allocations: 170.8 kB / 15.12 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.313/1.313, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008532/0.0008532, allocations: 100.2 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4426/0.4426, allocations: 78.59 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 11.94 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3694, allocations: 69.35 MB / 0.5559 GB, free: 38.5 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005764/0.3752, allocations: 5.531 MB / 0.5613 GB, free: 37.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.3793, allocations: 1.925 MB / 0.5631 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3806, allocations: 12.12 kB / 0.5632 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008233/0.3814, allocations: 169.6 kB / 0.5633 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.3836, allocations: 0.6582 MB / 0.564 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3851, allocations: 0.542 MB / 0.5645 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3865, allocations: 0.9244 MB / 0.5654 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.3869, allocations: 268.5 kB / 0.5657 GB, free: 35.08 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.3877, allocations: 0.5235 MB / 0.5662 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.3884, allocations: 0.6227 MB / 0.5668 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3885, allocations: 53.84 kB / 0.5668 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.3889, allocations: 165.4 kB / 0.567 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3891, allocations: 221.1 kB / 0.5672 GB, free: 34.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3893, allocations: 219.5 kB / 0.5674 GB, free: 34.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.3902, allocations: 1.096 MB / 0.5685 GB, free: 33.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3902, allocations: 0 / 0.5685 GB, free: 33.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3902, allocations: 0 / 0.5685 GB, free: 33.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.3903, allocations: 0 / 0.5685 GB, free: 33.92 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.007638/0.3979, allocations: 2.389 MB / 0.5708 GB, free: 32.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.398, allocations: 8.719 kB / 0.5708 GB, free: 32.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.3982, allocations: 125 kB / 0.5709 GB, free: 32.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.4027, allocations: 0.7851 MB / 0.5717 GB, free: 32.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.404, allocations: 0.7701 MB / 0.5724 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4042, allocations: 223.2 kB / 0.5727 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4043, allocations: 79.56 kB / 0.5727 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4063, allocations: 1.195 MB / 0.5739 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4063, allocations: 3.953 kB / 0.5739 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.4064, allocations: 32.7 kB / 0.5739 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4065, allocations: 18.09 kB / 0.574 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.4087, allocations: 1.166 MB / 0.5751 GB, free: 31.09 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.005074/0.4138, allocations: 3.208 MB / 0.5782 GB, free: 29.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.4166, allocations: 1.743 MB / 0.5799 GB, free: 28.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.4167, allocations: 19.7 kB / 0.58 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.4167, allocations: 42.59 kB / 0.58 GB, free: 28.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.186e-06/0.4167, allocations: 0 / 0.58 GB, free: 28.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.0273/0.4441, allocations: 8.729 MB / 0.5885 GB, free: 26.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.4442, allocations: 91.62 kB / 0.5886 GB, free: 26.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.4457, allocations: 0.9382 MB / 0.5895 GB, free: 26.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.4459, allocations: 40.95 kB / 0.5896 GB, free: 26.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.4463, allocations: 497.1 kB / 0.59 GB, free: 25.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.4466, allocations: 335.2 kB / 0.5904 GB, free: 25.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.4466, allocations: 24.31 kB / 0.5904 GB, free: 25.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.4467, allocations: 352.7 kB / 0.5907 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.4483, allocations: 0.768 MB / 0.5915 GB, free: 25.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.4499, allocations: 0.8999 MB / 0.5923 GB, free: 24.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.4516, allocations: 0.8284 MB / 0.5932 GB, free: 24.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4516, allocations: 0 / 0.5932 GB, free: 24.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01587/0.4675, allocations: 5.338 MB / 0.5984 GB, free: 23.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.4677, allocations: 0.7843 MB / 0.5991 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4677, allocations: 9.906 kB / 0.5991 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007346/0.4751, allocations: 2.224 MB / 0.6013 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/0.4761, allocations: 188.5 kB / 0.6015 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02408/0.5002, allocations: 10.75 MB / 0.612 GB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5019, allocations: 215.2 kB / 0.6122 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.502, allocations: 39.8 kB / 0.6122 GB, free: 16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.502, allocations: 4 kB / 0.6122 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01371/0.5158, allocations: 5.174 MB / 0.6173 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.5158, allocations: 4 kB / 0.6173 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006209/0.522, allocations: 2.221 MB / 0.6195 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.5229, allocations: 175.7 kB / 0.6196 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.5446, allocations: 10.72 MB / 0.6301 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5462, allocations: 207 kB / 0.6303 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.5463, allocations: 35.98 kB / 0.6303 GB, free: 13.36 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.0005607/0.5469, allocations: 326.6 kB / 0.6306 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5471, allocations: 114.6 kB / 0.6308 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.5618, allocations: 5.019 MB / 0.6357 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.5619, allocations: 15.94 kB / 0.6357 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5619, allocations: 0 / 0.6357 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-05/0.562, allocations: 11.95 kB / 0.6357 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.5785, allocations: 6.677 MB / 0.6422 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5786, allocations: 0 / 0.6422 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.5792, allocations: 95.89 kB / 0.6423 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/0.5858, allocations: 2.152 MB / 0.6444 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.586, allocations: 23.94 kB / 0.6444 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/0.607, allocations: 9.305 MB / 0.6535 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.607, allocations: 0 / 0.6535 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.6237, allocations: 6.032 MB / 0.6594 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.6243, allocations: 207.5 kB / 0.6596 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.6245, allocations: 27.94 kB / 0.6596 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6256, allocations: 139.9 kB / 0.6598 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.6262, allocations: 196.6 kB / 0.6599 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.6263, allocations: 24 kB / 0.66 GB, free: 14.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009762/0.6273, allocations: 0.6391 MB / 0.6606 GB, free: 14.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6273, allocations: 0 / 0.6606 GB, free: 14.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002046/0.6293, allocations: 0.7178 MB / 0.6613 GB, free: 13.29 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.01682/0.6462, allocations: 6.6 MB / 0.6677 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01221/0.6584, allocations: 4.685 MB / 0.6723 GB, free: 1.953 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6585, allocations: 4.438 kB / 0.6723 GB, free: 1.949 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004891/0.6634, allocations: 1.775 MB / 0.674 GB, free: 172 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.6641, allocations: 80.3 kB / 0.6741 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.6689, allocations: 4.166 MB / 0.6782 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.6696, allocations: 1.133 MB / 0.6793 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.6701, allocations: 119.1 kB / 0.6794 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.6706, allocations: 435.2 kB / 0.6798 GB, free: 10.11 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6706, allocations: 0 / 0.6798 GB, free: 10.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.7309, allocations: 37.84 MB / 0.7168 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.7311, allocations: 208.2 kB / 0.717 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.722, allocations: 4 kB / 0.717 GB, free: 4.203 MB / 0.5105 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)