Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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.00136/0.00136, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.338/1.338, allocations: 223.2 MB / 238.9 MB, free: 5.637 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.00136/0.00136, allocations: 197 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4472/0.4472, allocations: 79.45 MB / 420.7 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.4891 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3363, allocations: 69.51 MB / 0.557 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004165/0.3405, allocations: 5.284 MB / 0.5621 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3434, allocations: 1.782 MB / 0.5639 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.3439, allocations: 12.06 kB / 0.5639 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.3443, allocations: 151.6 kB / 0.564 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3457, allocations: 0.6426 MB / 0.5646 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009911/0.3467, allocations: 493.1 kB / 0.5651 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3478, allocations: 0.8645 MB / 0.566 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.3481, allocations: 235.2 kB / 0.5662 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.3487, allocations: 485.7 kB / 0.5666 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.3493, allocations: 0.5983 MB / 0.5672 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3494, allocations: 51.78 kB / 0.5673 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3498, allocations: 161.2 kB / 0.5674 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3499, allocations: 206.8 kB / 0.5676 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3501, allocations: 208.8 kB / 0.5678 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.3508, allocations: 1.012 MB / 0.5688 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.3508, allocations: 1.219 kB / 0.5688 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3509, allocations: 0 / 0.5688 GB, free: 36.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3509, allocations: 3 kB / 0.5688 GB, free: 36.32 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.007051/0.3579, allocations: 2.308 MB / 0.5711 GB, free: 35.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.358, allocations: 8.375 kB / 0.5711 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.3582, allocations: 124.8 kB / 0.5712 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.3631, allocations: 0.7725 MB / 0.572 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3642, allocations: 0.7004 MB / 0.5726 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.3644, allocations: 256.5 kB / 0.5729 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.3646, allocations: 74.44 kB / 0.573 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.3666, allocations: 1.152 MB / 0.5741 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3666, allocations: 0 / 0.5741 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.3667, allocations: 30.5 kB / 0.5741 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3667, allocations: 18.41 kB / 0.5741 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3687, allocations: 1.115 MB / 0.5752 GB, free: 33.87 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.004456/0.3732, allocations: 3.122 MB / 0.5783 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.3759, allocations: 1.717 MB / 0.5799 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/0.376, allocations: 13.61 kB / 0.58 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.376, allocations: 45 kB / 0.58 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.376, allocations: 0 / 0.58 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03067/0.4067, allocations: 9.2 MB / 0.589 GB, free: 29.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4068, allocations: 61.31 kB / 0.589 GB, free: 29.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4079, allocations: 0.8285 MB / 0.5899 GB, free: 29.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.4081, allocations: 41.53 kB / 0.5899 GB, free: 29.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.4084, allocations: 454.1 kB / 0.5903 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.4087, allocations: 339 kB / 0.5906 GB, free: 28.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.4088, allocations: 24.34 kB / 0.5907 GB, free: 28.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.4089, allocations: 346.2 kB / 0.591 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4104, allocations: 0.7621 MB / 0.5917 GB, free: 27.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4121, allocations: 0.885 MB / 0.5926 GB, free: 27.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.4137, allocations: 0.8091 MB / 0.5934 GB, free: 27.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4137, allocations: 1.875 kB / 0.5934 GB, free: 27.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01545/0.4291, allocations: 5.302 MB / 0.5986 GB, free: 26.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.4292, allocations: 6.094 kB / 0.5986 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.4292, allocations: 2.625 kB / 0.5986 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/0.4365, allocations: 2.224 MB / 0.6008 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.4375, allocations: 172.4 kB / 0.6009 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.4605, allocations: 10.78 MB / 0.6115 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.462, allocations: 212.3 kB / 0.6117 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4621, allocations: 37.56 kB / 0.6117 GB, free: 20.25 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.0003733/0.4625, allocations: 226.7 kB / 0.6119 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.4626, allocations: 107.3 kB / 0.612 GB, free: 19.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.4756, allocations: 5.007 MB / 0.6169 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4756, allocations: 12 kB / 0.6169 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4756, allocations: 0 / 0.6169 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.4757, allocations: 3.984 kB / 0.6169 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.4898, allocations: 6.574 MB / 0.6233 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.4898, allocations: 4 kB / 0.6233 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.4904, allocations: 96.95 kB / 0.6234 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/0.4963, allocations: 2.156 MB / 0.6255 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.4965, allocations: 19.98 kB / 0.6256 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.5152, allocations: 9.33 MB / 0.6347 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5153, allocations: 0 / 0.6347 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.5314, allocations: 5.985 MB / 0.6405 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.5319, allocations: 199.6 kB / 0.6407 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5321, allocations: 19.95 kB / 0.6407 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.5331, allocations: 133 kB / 0.6409 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/0.5337, allocations: 200.6 kB / 0.641 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.5338, allocations: 22.62 kB / 0.6411 GB, free: 6.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006928/0.5345, allocations: 0.5589 MB / 0.6416 GB, free: 5.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5345, allocations: 0 / 0.6416 GB, free: 5.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001355/0.5358, allocations: 435.6 kB / 0.642 GB, free: 5.223 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.01628/0.5521, allocations: 6.565 MB / 0.6484 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00701/0.5592, allocations: 2.698 MB / 0.6511 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5592, allocations: 0 / 0.6511 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004725/0.5639, allocations: 1.766 MB / 0.6528 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.5646, allocations: 65.61 kB / 0.6529 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.569, allocations: 4.055 MB / 0.6568 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.5695, allocations: 1.077 MB / 0.6579 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.5698, allocations: 84.33 kB / 0.6579 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.5703, allocations: 391.3 kB / 0.6583 GB, free: 4.406 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5703, allocations: 0 / 0.6583 GB, free: 4.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.6167, allocations: 29.15 MB / 0.6868 GB, free: 7.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.617, allocations: 204.5 kB / 0.687 GB, free: 7.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.207, allocations: 0 / 0.687 GB, free: 7.363 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) Environment - environmentSimulation: