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.1319/0.1319, allocations: 12.2 MB / 27.15 MB, free: 0.9258 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.00117/0.001171, allocations: 102.2 kB / 30.66 MB, free: 4.867 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.443/1.443, allocations: 205.4 MB / 239.5 MB, free: 10.72 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.001131/0.001131, allocations: 185 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4312/0.4312, allocations: 78.5 MB / 420.1 MB, free: 6.59 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.0008308/0.0008309, allocations: 33.12 kB / 0.4895 GB, free: 37.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1239, allocations: 69.25 MB / 0.5571 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005423/0.1294, allocations: 5.32 MB / 0.5623 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.133, allocations: 1.745 MB / 0.564 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.1336, allocations: 12 kB / 0.564 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.134, allocations: 154.8 kB / 0.5642 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.1356, allocations: 0.6346 MB / 0.5648 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1367, allocations: 0.4908 MB / 0.5653 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1377, allocations: 0.8617 MB / 0.5661 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.1381, allocations: 227.8 kB / 0.5663 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.1386, allocations: 490.1 kB / 0.5668 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.1392, allocations: 0.599 MB / 0.5674 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1393, allocations: 52 kB / 0.5674 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1397, allocations: 163.8 kB / 0.5676 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.1399, allocations: 203.1 kB / 0.5678 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.14, allocations: 205 kB / 0.568 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.1409, allocations: 1.017 MB / 0.569 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1409, allocations: 0 / 0.569 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1409, allocations: 0 / 0.569 GB, free: 12.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.141, allocations: 0 / 0.569 GB, free: 12.53 MB / 398.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.007392/0.1484, allocations: 2.303 MB / 0.5712 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1484, allocations: 15.98 kB / 0.5712 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.1486, allocations: 118.5 kB / 0.5714 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/0.1536, allocations: 0.7828 MB / 0.5721 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.155, allocations: 0.7016 MB / 0.5728 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.1553, allocations: 260.1 kB / 0.5731 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1555, allocations: 79.98 kB / 0.5731 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.1578, allocations: 1.149 MB / 0.5743 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1579, allocations: 0 / 0.5743 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.158, allocations: 24 kB / 0.5743 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.158, allocations: 20 kB / 0.5743 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.1603, allocations: 1.109 MB / 0.5754 GB, free: 5.82 MB / 398.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.005463/0.1657, allocations: 3.127 MB / 0.5784 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.1692, allocations: 1.715 MB / 0.5801 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/0.1693, allocations: 13 kB / 0.5801 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1693, allocations: 47.55 kB / 0.5802 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.1693, allocations: 3.938 kB / 0.5802 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.0325/0.2018, allocations: 9.192 MB / 0.5891 GB, free: 7.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2019, allocations: 60.41 kB / 0.5892 GB, free: 7.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.2033, allocations: 0.8357 MB / 0.59 GB, free: 6.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.2035, allocations: 45.7 kB / 0.5901 GB, free: 6.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.2039, allocations: 452.5 kB / 0.5905 GB, free: 5.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.2043, allocations: 331.3 kB / 0.5908 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.2044, allocations: 20 kB / 0.5908 GB, free: 5.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2045, allocations: 349.9 kB / 0.5912 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.2061, allocations: 0.7639 MB / 0.5919 GB, free: 4.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.2078, allocations: 0.8844 MB / 0.5928 GB, free: 3.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.2095, allocations: 0.8107 MB / 0.5936 GB, free: 2.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.2095, allocations: 0 / 0.5936 GB, free: 2.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0152/0.2247, allocations: 5.308 MB / 0.5987 GB, free: 13.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2248, allocations: 4 kB / 0.5987 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2248, allocations: 7.938 kB / 0.5988 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.2317, allocations: 2.221 MB / 0.6009 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/0.2326, allocations: 175.8 kB / 0.6011 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.2565, allocations: 10.77 MB / 0.6116 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.258, allocations: 195.1 kB / 0.6118 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.2581, allocations: 47.92 kB / 0.6118 GB, free: 15.91 MB / 446.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.0004136/0.2585, allocations: 225.6 kB / 0.6121 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.2587, allocations: 110.6 kB / 0.6122 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.2731, allocations: 5.002 MB / 0.6171 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.2732, allocations: 11.94 kB / 0.6171 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2732, allocations: 4 kB / 0.6171 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.2732, allocations: 3.984 kB / 0.6171 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.2896, allocations: 6.59 MB / 0.6235 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.2896, allocations: 11.94 kB / 0.6235 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.2903, allocations: 87.91 kB / 0.6236 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/0.2969, allocations: 2.156 MB / 0.6257 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.2971, allocations: 20 kB / 0.6257 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/0.3186, allocations: 9.312 MB / 0.6348 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3186, allocations: 4 kB / 0.6348 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.3351, allocations: 5.989 MB / 0.6407 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.3356, allocations: 195.6 kB / 0.6409 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3358, allocations: 16 kB / 0.6409 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.3368, allocations: 131.9 kB / 0.641 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006273/0.3374, allocations: 200.6 kB / 0.6412 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.3375, allocations: 23.98 kB / 0.6412 GB, free: 1.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007531/0.3383, allocations: 0.5589 MB / 0.6418 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3383, allocations: 0 / 0.6418 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001438/0.3397, allocations: 435.5 kB / 0.6422 GB, free: 500 kB / 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.01705/0.3568, allocations: 6.557 MB / 0.6486 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007497/0.3643, allocations: 2.707 MB / 0.6512 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3644, allocations: 0 / 0.6512 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005385/0.3698, allocations: 1.764 MB / 0.6529 GB, free: 5.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.3706, allocations: 71.39 kB / 0.653 GB, free: 5.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.3763, allocations: 4.047 MB / 0.657 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.3773, allocations: 1.077 MB / 0.658 GB, free: 100 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.3776, allocations: 82.77 kB / 0.6581 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2141/0.5917, allocations: 391.9 kB / 0.6585 GB, free: 96.24 MB / 478.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5918, allocations: 2.312 kB / 0.6585 GB, free: 96.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0522/0.644, allocations: 29.16 MB / 0.6869 GB, free: 84.32 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.6442, allocations: 204.6 kB / 0.6871 GB, free: 84.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.232, allocations: 0 / 0.6871 GB, free: 84.08 MB / 478.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: