Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.1331/0.1331, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.000934, allocations: 107.6 kB / 30.69 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 239.5 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 184.1 kB / 290.6 MB, free: 11.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5222/0.5222, allocations: 78.53 MB / 420.1 MB, free: 11.56 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009428/0.0009429, allocations: 28 kB / 0.4896 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4103, allocations: 69.23 MB / 0.5572 GB, free: 21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005221/0.4155, allocations: 5.62 MB / 0.5627 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.4185, allocations: 1.702 MB / 0.5643 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.4188, allocations: 15.94 kB / 0.5643 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.4192, allocations: 150.9 kB / 0.5645 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.4205, allocations: 0.5773 MB / 0.565 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.4214, allocations: 0.4909 MB / 0.5655 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000951/0.4224, allocations: 1.206 MB / 0.5667 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.4227, allocations: 227.8 kB / 0.5669 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.4232, allocations: 489.8 kB / 0.5674 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.4238, allocations: 0.6105 MB / 0.568 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/0.4239, allocations: 52 kB / 0.568 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.4242, allocations: 183.9 kB / 0.5682 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.4244, allocations: 203 kB / 0.5684 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.4246, allocations: 209 kB / 0.5686 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.4253, allocations: 1.052 MB / 0.5696 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4253, allocations: 0 / 0.5696 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4254, allocations: 0 / 0.5696 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4254, allocations: 0 / 0.5696 GB, free: 8.195 MB / 382.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.006122/0.4315, allocations: 2.306 MB / 0.5719 GB, free: 5.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4316, allocations: 11.98 kB / 0.5719 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.4317, allocations: 122.5 kB / 0.572 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.436, allocations: 0.7712 MB / 0.5728 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.4369, allocations: 0.6978 MB / 0.5734 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.4372, allocations: 260.2 kB / 0.5737 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.4373, allocations: 79.84 kB / 0.5738 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.4392, allocations: 1.161 MB / 0.5749 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4392, allocations: 0 / 0.5749 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.4393, allocations: 28 kB / 0.5749 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.4393, allocations: 16 kB / 0.5749 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.4412, allocations: 1.117 MB / 0.576 GB, free: 1.477 MB / 382.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.004748/0.4459, allocations: 3.123 MB / 0.5791 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.4489, allocations: 1.718 MB / 0.5808 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4504, allocations: 0.8397 MB / 0.5816 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4505, allocations: 20.92 kB / 0.5816 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4505, allocations: 43.56 kB / 0.5816 GB, free: 11.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.285e-06/0.4505, allocations: 0 / 0.5816 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02878/0.4793, allocations: 9.199 MB / 0.5906 GB, free: 2.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4794, allocations: 64.36 kB / 0.5907 GB, free: 2.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.4807, allocations: 0.8281 MB / 0.5915 GB, free: 1.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4808, allocations: 41.7 kB / 0.5915 GB, free: 1.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.4812, allocations: 452.5 kB / 0.592 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.4816, allocations: 331.2 kB / 0.5923 GB, free: 492 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.4817, allocations: 24 kB / 0.5923 GB, free: 468 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4819, allocations: 353.9 kB / 0.5926 GB, free: 108 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.4834, allocations: 0.7639 MB / 0.5934 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.485, allocations: 0.8923 MB / 0.5943 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4865, allocations: 0.8069 MB / 0.595 GB, free: 13.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4866, allocations: 4 kB / 0.595 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01387/0.5004, allocations: 5.304 MB / 0.6002 GB, free: 8.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.5005, allocations: 4 kB / 0.6002 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5005, allocations: 4 kB / 0.6002 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.5071, allocations: 2.221 MB / 0.6024 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.508, allocations: 179.7 kB / 0.6026 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.5303, allocations: 10.26 MB / 0.6126 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5319, allocations: 206.9 kB / 0.6128 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.532, allocations: 39.98 kB / 0.6128 GB, free: 11.23 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.0004795/0.5325, allocations: 225.7 kB / 0.6131 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.5327, allocations: 118.6 kB / 0.6132 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.5461, allocations: 4.998 MB / 0.618 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.5462, allocations: 12 kB / 0.6181 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5462, allocations: 3.938 kB / 0.6181 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.5462, allocations: 3.984 kB / 0.6181 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.5618, allocations: 6.59 MB / 0.6245 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.5619, allocations: 4 kB / 0.6245 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.5625, allocations: 87.89 kB / 0.6246 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006139/0.5686, allocations: 2.159 MB / 0.6267 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.5688, allocations: 16 kB / 0.6267 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.5882, allocations: 8.835 MB / 0.6353 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5883, allocations: 7.984 kB / 0.6353 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.6035, allocations: 5.985 MB / 0.6412 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.604, allocations: 199.6 kB / 0.6414 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.6042, allocations: 16 kB / 0.6414 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.6051, allocations: 131.9 kB / 0.6415 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.6057, allocations: 196.6 kB / 0.6417 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.6058, allocations: 24 kB / 0.6417 GB, free: 13.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007881/0.6066, allocations: 0.5589 MB / 0.6423 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6066, allocations: 4 kB / 0.6423 GB, free: 12.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001311/0.6079, allocations: 431.6 kB / 0.6427 GB, free: 12.28 MB / 462.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.01561/0.6236, allocations: 6.565 MB / 0.6491 GB, free: 5.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006658/0.6303, allocations: 2.699 MB / 0.6517 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6303, allocations: 4.438 kB / 0.6517 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004644/0.635, allocations: 1.759 MB / 0.6535 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6361, allocations: 87.38 kB / 0.6535 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.6621, allocations: 11.26 MB / 0.6645 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/0.6631, allocations: 1.065 MB / 0.6656 GB, free: 4.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004704/0.6636, allocations: 82.77 kB / 0.6657 GB, free: 4.391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.6643, allocations: 399.2 kB / 0.666 GB, free: 4.004 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6643, allocations: 0 / 0.666 GB, free: 4.004 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/1.046, allocations: 29.7 MB / 0.695 GB, free: 119.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.046, allocations: 213.4 kB / 0.6952 GB, free: 118.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/4, allocations: 0 / 0.6952 GB, free: 118.8 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) Environment - environmentSimulation: