Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.0007812/0.0007814, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.558/1.558, allocations: 223.2 MB / 239 MB, free: 5.449 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.001542/0.001541, allocations: 180.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5538/0.5538, allocations: 78.56 MB / 419.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005909/0.0005911, allocations: 12 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1633, allocations: 69.35 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2759/0.4392, allocations: 5.557 MB / 0.5613 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.4429, allocations: 1.735 MB / 0.563 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.4434, allocations: 12.19 kB / 0.563 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.4439, allocations: 150.8 kB / 0.5632 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.4454, allocations: 0.5816 MB / 0.5637 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4464, allocations: 0.4979 MB / 0.5642 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4476, allocations: 1.208 MB / 0.5654 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.448, allocations: 222.1 kB / 0.5656 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.4486, allocations: 486.3 kB / 0.5661 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.4492, allocations: 0.6166 MB / 0.5667 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.4493, allocations: 53.81 kB / 0.5667 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.4497, allocations: 176.8 kB / 0.5669 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4499, allocations: 203.5 kB / 0.5671 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.4501, allocations: 209.1 kB / 0.5673 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009217/0.451, allocations: 1.054 MB / 0.5683 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.451, allocations: 3.625 kB / 0.5683 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.451, allocations: 3.375 kB / 0.5683 GB, free: 35.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4511, allocations: 1.531 kB / 0.5683 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006468/0.4575, allocations: 2.302 MB / 0.5706 GB, free: 35.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4576, allocations: 11.38 kB / 0.5706 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.4578, allocations: 120.5 kB / 0.5707 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.4623, allocations: 0.7729 MB / 0.5715 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.4635, allocations: 0.7048 MB / 0.5722 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.4637, allocations: 261.9 kB / 0.5724 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4638, allocations: 80.77 kB / 0.5725 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.4658, allocations: 1.145 MB / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4658, allocations: 1.297 kB / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.4659, allocations: 32.2 kB / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4659, allocations: 26.48 kB / 0.5737 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.4679, allocations: 1.114 MB / 0.5747 GB, free: 34.23 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.004567/0.4725, allocations: 3.118 MB / 0.5778 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.4751, allocations: 1.712 MB / 0.5795 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.4764, allocations: 0.8196 MB / 0.5803 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.4765, allocations: 16.48 kB / 0.5803 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4765, allocations: 49.09 kB / 0.5803 GB, free: 31.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.966e-06/0.4765, allocations: 0 / 0.5803 GB, free: 31.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02809/0.5046, allocations: 9.198 MB / 0.5893 GB, free: 29.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.5048, allocations: 66.22 kB / 0.5894 GB, free: 29.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5061, allocations: 0.8235 MB / 0.5902 GB, free: 29.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.5063, allocations: 48 kB / 0.5902 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.5066, allocations: 447.6 kB / 0.5907 GB, free: 28.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.507, allocations: 340.6 kB / 0.591 GB, free: 28.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.5071, allocations: 20.25 kB / 0.591 GB, free: 28.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5072, allocations: 350.7 kB / 0.5913 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.5088, allocations: 0.7631 MB / 0.5921 GB, free: 28.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.5105, allocations: 0.8883 MB / 0.5929 GB, free: 27.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.5121, allocations: 0.8152 MB / 0.5937 GB, free: 27.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5121, allocations: 0 / 0.5937 GB, free: 27.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01515/0.5272, allocations: 5.295 MB / 0.5989 GB, free: 26.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.5273, allocations: 7.109 kB / 0.5989 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5274, allocations: 5.844 kB / 0.5989 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007022/0.5344, allocations: 2.218 MB / 0.6011 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5354, allocations: 182 kB / 0.6013 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/0.5594, allocations: 10.28 MB / 0.6113 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5611, allocations: 203.1 kB / 0.6115 GB, free: 20.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.5613, allocations: 43.05 kB / 0.6115 GB, free: 20.67 MB / 430.1 MB 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 (106): * Single equations (assignments): 105 * 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.0006091/0.562, allocations: 231.3 kB / 0.6118 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.5623, allocations: 106.7 kB / 0.6119 GB, free: 20.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.5743, allocations: 5.005 MB / 0.6167 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5744, allocations: 8 kB / 0.6168 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5744, allocations: 0 / 0.6168 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.5745, allocations: 7.969 kB / 0.6168 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5884, allocations: 6.584 MB / 0.6232 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5885, allocations: 0 / 0.6232 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.589, allocations: 95.83 kB / 0.6233 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/0.5944, allocations: 2.159 MB / 0.6254 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5946, allocations: 16 kB / 0.6254 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/0.6121, allocations: 8.832 MB / 0.634 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6122, allocations: 0 / 0.634 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.6277, allocations: 5.982 MB / 0.6399 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.6283, allocations: 200.7 kB / 0.6401 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/0.6286, allocations: 20.56 kB / 0.6401 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6298, allocations: 131.9 kB / 0.6402 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/0.6305, allocations: 200.6 kB / 0.6404 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6306, allocations: 20 kB / 0.6404 GB, free: 6.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00089/0.6315, allocations: 0.5667 MB / 0.641 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6315, allocations: 3.938 kB / 0.641 GB, free: 6.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001781/0.6333, allocations: 431.6 kB / 0.6414 GB, free: 5.941 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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.01558/0.6489, allocations: 6.561 MB / 0.6478 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006955/0.6559, allocations: 2.709 MB / 0.6504 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6559, allocations: 0 / 0.6504 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00475/0.6607, allocations: 1.761 MB / 0.6522 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.662, allocations: 81.2 kB / 0.6522 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/0.6882, allocations: 11.27 MB / 0.6632 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.6891, allocations: 1.053 MB / 0.6643 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004629/0.6896, allocations: 89.62 kB / 0.6644 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/0.6902, allocations: 391.3 kB / 0.6647 GB, free: 13.72 MB / 478.1 MB Notification: Performance of SimCode: time 1.011e-06/0.6902, allocations: 0 / 0.6647 GB, free: 13.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06008/0.7503, allocations: 29.69 MB / 0.6937 GB, free: 368 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7505, allocations: 213.7 kB / 0.6939 GB, free: 116 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.299, allocations: 4 kB / 0.6939 GB, free: 112 kB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) Environment - environmentSimulation: