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.005999/0.005999, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.246/1.246, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001312/0.001312, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4787/0.4787, allocations: 91.91 MB / 431.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 83.3 kB / 0.5723 GB, free: 33.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 71.29 MB / 0.6419 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006216/0.1358, allocations: 6.053 MB / 0.6478 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.1393, allocations: 1.778 MB / 0.6495 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.14, allocations: 15.94 kB / 0.6495 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1405, allocations: 214.2 kB / 0.6497 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.1422, allocations: 0.7523 MB / 0.6505 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1434, allocations: 0.5705 MB / 0.651 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.1448, allocations: 1.335 MB / 0.6523 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.1452, allocations: 294.1 kB / 0.6526 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1459, allocations: 0.5639 MB / 0.6532 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.1466, allocations: 0.6922 MB / 0.6538 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1468, allocations: 100 kB / 0.6539 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1472, allocations: 231.9 kB / 0.6542 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.1474, allocations: 266.8 kB / 0.6544 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.1479, allocations: 0.5748 MB / 0.655 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1492, allocations: 1.445 MB / 0.6564 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1492, allocations: 3.938 kB / 0.6564 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1492, allocations: 0 / 0.6564 GB, free: 5.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1493, allocations: 0 / 0.6564 GB, free: 5.117 MB / 462.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.007406/0.1567, allocations: 2.446 MB / 0.6588 GB, free: 2.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1568, allocations: 15.97 kB / 0.6588 GB, free: 2.602 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.1569, allocations: 118.5 kB / 0.6589 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.1615, allocations: 0.7673 MB / 0.6597 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1627, allocations: 0.7399 MB / 0.6604 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.1629, allocations: 252.2 kB / 0.6606 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.1631, allocations: 75.94 kB / 0.6607 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.165, allocations: 1.086 MB / 0.6617 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1651, allocations: 0 / 0.6617 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.1652, allocations: 28 kB / 0.6618 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1652, allocations: 20 kB / 0.6618 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.1672, allocations: 1.035 MB / 0.6628 GB, free: 14.38 MB / 478.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.004559/0.1717, allocations: 3.049 MB / 0.6658 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.1744, allocations: 1.559 MB / 0.6673 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1757, allocations: 0.7558 MB / 0.668 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1758, allocations: 16.94 kB / 0.6681 GB, free: 8.738 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1758, allocations: 43.5 kB / 0.6681 GB, free: 8.688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.755e-06/0.1758, allocations: 0 / 0.6681 GB, free: 8.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02667/0.2025, allocations: 7.476 MB / 0.6754 GB, free: 1.176 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2026, allocations: 60.41 kB / 0.6755 GB, free: 1.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2038, allocations: 0.8436 MB / 0.6763 GB, free: 244 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.204, allocations: 41.7 kB / 0.6763 GB, free: 196 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.2043, allocations: 452.5 kB / 0.6768 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.2047, allocations: 331.3 kB / 0.6771 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.2051, allocations: 198.8 kB / 0.6773 GB, free: 15.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2052, allocations: 353.9 kB / 0.6776 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.2066, allocations: 0.6936 MB / 0.6783 GB, free: 14.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.2081, allocations: 0.8141 MB / 0.6791 GB, free: 13.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.2108, allocations: 1.501 MB / 0.6805 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2108, allocations: 0 / 0.6805 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01254/0.2234, allocations: 4.351 MB / 0.6848 GB, free: 7.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2234, allocations: 8 kB / 0.6848 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2234, allocations: 3.984 kB / 0.6848 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006086/0.2295, allocations: 1.889 MB / 0.6866 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/0.2305, allocations: 179.7 kB / 0.6868 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.2522, allocations: 9.966 MB / 0.6965 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2537, allocations: 159 kB / 0.6967 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.2539, allocations: 47.92 kB / 0.6967 GB, free: 11.02 MB / 0.4981 GB 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.0005081/0.2544, allocations: 222.1 kB / 0.697 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.2547, allocations: 106.7 kB / 0.6971 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.2665, allocations: 4.057 MB / 0.701 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2665, allocations: 8 kB / 0.701 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2665, allocations: 0 / 0.701 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.2666, allocations: 3.984 kB / 0.701 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.2807, allocations: 5.636 MB / 0.7065 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.2807, allocations: 4 kB / 0.7065 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.2813, allocations: 91.84 kB / 0.7066 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/0.2869, allocations: 1.831 MB / 0.7084 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.2871, allocations: 16 kB / 0.7084 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.3055, allocations: 8.638 MB / 0.7169 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3055, allocations: 7.938 kB / 0.7169 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.3191, allocations: 4.959 MB / 0.7217 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.3195, allocations: 203.6 kB / 0.7219 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.3198, allocations: 16 kB / 0.7219 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.3209, allocations: 95.83 kB / 0.722 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006681/0.3215, allocations: 204.7 kB / 0.7222 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.3217, allocations: 20 kB / 0.7222 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007724/0.3224, allocations: 0.5628 MB / 0.7228 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3225, allocations: 4 kB / 0.7228 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001466/0.3239, allocations: 435.6 kB / 0.7232 GB, free: 15.55 MB / 0.5294 GB 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.01375/0.3377, allocations: 5.541 MB / 0.7286 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005943/0.3437, allocations: 2.443 MB / 0.731 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3437, allocations: 0 / 0.731 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/0.3478, allocations: 1.568 MB / 0.7325 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.3486, allocations: 91.42 kB / 0.7326 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/0.384, allocations: 15.15 MB / 0.7474 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.3847, allocations: 1.057 MB / 0.7484 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003675/0.3851, allocations: 82.72 kB / 0.7485 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.3857, allocations: 399.3 kB / 0.7489 GB, free: 4.953 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/0.3857, allocations: 0 / 0.7489 GB, free: 4.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.314/0.6997, allocations: 33.42 MB / 0.7815 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.84, allocations: 9.031 kB / 0.7816 GB, free: 116.6 MB / 0.5606 GB (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/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)