Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 174.7 kB / 15.42 MB, free: 6.195 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.278/1.278, allocations: 222.8 MB / 239 MB, free: 1.816 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.000769/0.0007692, allocations: 98.19 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4475/0.4475, allocations: 78.43 MB / 418.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 12 kB / 498.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 68.74 MB / 0.554 GB, free: 39.72 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006017/0.3402, allocations: 6.387 MB / 0.5602 GB, free: 37.24 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.3441, allocations: 1.832 MB / 0.562 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.3447, allocations: 11.62 kB / 0.562 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.3452, allocations: 161.8 kB / 0.5622 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.3467, allocations: 0.6211 MB / 0.5628 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3479, allocations: 0.5464 MB / 0.5633 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3492, allocations: 1.266 MB / 0.5645 GB, free: 35.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.3496, allocations: 256.7 kB / 0.5648 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.3503, allocations: 0.4931 MB / 0.5653 GB, free: 35.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.351, allocations: 0.6339 MB / 0.5659 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3512, allocations: 52.97 kB / 0.5659 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.3516, allocations: 178.5 kB / 0.5661 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.3518, allocations: 218.9 kB / 0.5663 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.3523, allocations: 0.5248 MB / 0.5668 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3533, allocations: 1.354 MB / 0.5681 GB, free: 34.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3533, allocations: 5.031 kB / 0.5682 GB, free: 34.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3533, allocations: 0 / 0.5682 GB, free: 34.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3533, allocations: 0 / 0.5682 GB, free: 34.49 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006597/0.3599, allocations: 2.234 MB / 0.5703 GB, free: 33.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.36, allocations: 11.66 kB / 0.5703 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.3602, allocations: 119.1 kB / 0.5705 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.365, allocations: 0.7646 MB / 0.5712 GB, free: 33.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3659, allocations: 0.7342 MB / 0.5719 GB, free: 32.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.3662, allocations: 248.5 kB / 0.5722 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3663, allocations: 76.47 kB / 0.5722 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3681, allocations: 1.085 MB / 0.5733 GB, free: 32.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3681, allocations: 4 kB / 0.5733 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.3682, allocations: 29.72 kB / 0.5733 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3682, allocations: 18 kB / 0.5733 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3701, allocations: 1.038 MB / 0.5744 GB, free: 31.73 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.004225/0.3743, allocations: 3.067 MB / 0.5773 GB, free: 29.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.3767, allocations: 1.575 MB / 0.5789 GB, free: 29.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.378, allocations: 0.7521 MB / 0.5796 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3781, allocations: 13.55 kB / 0.5796 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3781, allocations: 50.41 kB / 0.5797 GB, free: 28.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.926e-06/0.3781, allocations: 2.844 kB / 0.5797 GB, free: 28.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02611/0.4042, allocations: 7.474 MB / 0.587 GB, free: 27.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4043, allocations: 61.91 kB / 0.587 GB, free: 27.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4053, allocations: 0.8349 MB / 0.5879 GB, free: 26.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.4055, allocations: 40.77 kB / 0.5879 GB, free: 26.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.4057, allocations: 456.5 kB / 0.5883 GB, free: 26.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.406, allocations: 335.4 kB / 0.5887 GB, free: 26.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.4062, allocations: 105.7 kB / 0.5888 GB, free: 26.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.4063, allocations: 345.6 kB / 0.5891 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.4076, allocations: 0.6936 MB / 0.5898 GB, free: 25.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.409, allocations: 0.8188 MB / 0.5906 GB, free: 25.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.4116, allocations: 1.499 MB / 0.592 GB, free: 24.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4116, allocations: 0 / 0.592 GB, free: 24.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01343/0.4251, allocations: 4.357 MB / 0.5963 GB, free: 23.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4251, allocations: 6.344 kB / 0.5963 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4251, allocations: 1.562 kB / 0.5963 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00616/0.4313, allocations: 1.897 MB / 0.5981 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.4322, allocations: 174.4 kB / 0.5983 GB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.4528, allocations: 9.179 MB / 0.6073 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4543, allocations: 159.6 kB / 0.6074 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.4544, allocations: 42.92 kB / 0.6075 GB, free: 18.09 MB / 426.7 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 (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.0003804/0.4548, allocations: 224.2 kB / 0.6077 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4549, allocations: 118.3 kB / 0.6078 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.4675, allocations: 4.054 MB / 0.6117 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4675, allocations: 13.16 kB / 0.6118 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4675, allocations: 1.375 kB / 0.6118 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4675, allocations: 3.984 kB / 0.6118 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.4808, allocations: 5.63 MB / 0.6173 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4808, allocations: 0 / 0.6173 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.4813, allocations: 95.83 kB / 0.6174 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/0.4867, allocations: 1.835 MB / 0.6191 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.4868, allocations: 19.98 kB / 0.6192 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/0.5025, allocations: 7.87 MB / 0.6269 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5026, allocations: 0 / 0.6269 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.5167, allocations: 4.958 MB / 0.6317 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.5171, allocations: 195.6 kB / 0.6319 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.5173, allocations: 16 kB / 0.6319 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/0.5182, allocations: 99.83 kB / 0.632 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005883/0.5188, allocations: 200.6 kB / 0.6322 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.5188, allocations: 20 kB / 0.6322 GB, free: 10.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006843/0.5195, allocations: 0.5706 MB / 0.6328 GB, free: 10.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5195, allocations: 0 / 0.6328 GB, free: 10.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001172/0.5207, allocations: 435.6 kB / 0.6332 GB, free: 9.785 MB / 442.7 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 (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.01482/0.5356, allocations: 5.534 MB / 0.6386 GB, free: 4.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006346/0.5419, allocations: 2.398 MB / 0.6409 GB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.542, allocations: 0 / 0.6409 GB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004386/0.5464, allocations: 1.548 MB / 0.6424 GB, free: 260 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.5473, allocations: 87.36 kB / 0.6425 GB, free: 168 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/0.5844, allocations: 16 MB / 0.6581 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.585, allocations: 1.057 MB / 0.6592 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.5854, allocations: 82.78 kB / 0.6593 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.5858, allocations: 395.2 kB / 0.6596 GB, free: 14.25 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5858, allocations: 0 / 0.6596 GB, free: 14.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.6335, allocations: 29.9 MB / 0.6888 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.6337, allocations: 229.7 kB / 0.689 GB, free: 280 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.422, allocations: 4 kB / 0.6891 GB, free: 276 kB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)