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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.449/1.449, allocations: 222.9 MB / 238.8 MB, free: 4.742 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.001491/0.001491, allocations: 192.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5222/0.5222, allocations: 91.89 MB / 431.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 87.86 kB / 0.5012 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 71.25 MB / 0.5708 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005532/0.3899, allocations: 6.399 MB / 0.577 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.3944, allocations: 1.846 MB / 0.5788 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.3951, allocations: 14.78 kB / 0.5789 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.3956, allocations: 162.7 kB / 0.579 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.3971, allocations: 0.6271 MB / 0.5796 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3983, allocations: 0.5465 MB / 0.5802 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009619/0.3993, allocations: 1.26 MB / 0.5814 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3996, allocations: 260.3 kB / 0.5816 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.4001, allocations: 0.5185 MB / 0.5821 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.4007, allocations: 0.6595 MB / 0.5828 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.4008, allocations: 66.97 kB / 0.5829 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.4012, allocations: 195.4 kB / 0.583 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.4014, allocations: 232.2 kB / 0.5833 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.4018, allocations: 0.5449 MB / 0.5838 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.4028, allocations: 1.384 MB / 0.5851 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4028, allocations: 0 / 0.5851 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4028, allocations: 4 kB / 0.5851 GB, free: 28.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4028, allocations: 0 / 0.5851 GB, free: 28.31 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.007402/0.4102, allocations: 2.443 MB / 0.5875 GB, free: 27.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4103, allocations: 13.12 kB / 0.5875 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.4151, allocations: 0.763 MB / 0.5883 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4163, allocations: 0.7413 MB / 0.589 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.4166, allocations: 256.7 kB / 0.5893 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.4167, allocations: 69.88 kB / 0.5893 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.4189, allocations: 1.089 MB / 0.5904 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4189, allocations: 0 / 0.5904 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.419, allocations: 31.25 kB / 0.5904 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.419, allocations: 15.84 kB / 0.5904 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.4211, allocations: 1.037 MB / 0.5914 GB, free: 25.5 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.005077/0.4262, allocations: 3.062 MB / 0.5944 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.4293, allocations: 1.569 MB / 0.596 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.431, allocations: 0.7505 MB / 0.5967 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.4311, allocations: 20.77 kB / 0.5967 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4311, allocations: 40.41 kB / 0.5968 GB, free: 22.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.968e-06/0.4311, allocations: 0 / 0.5968 GB, free: 22.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03444/0.4656, allocations: 7.479 MB / 0.6041 GB, free: 21.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.4657, allocations: 65.81 kB / 0.6041 GB, free: 21.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4675, allocations: 0.8407 MB / 0.605 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.4678, allocations: 41.36 kB / 0.605 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.4682, allocations: 449.9 kB / 0.6054 GB, free: 20.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.4685, allocations: 333.5 kB / 0.6057 GB, free: 20.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.4689, allocations: 198 kB / 0.6059 GB, free: 19.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.469, allocations: 354.2 kB / 0.6063 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4705, allocations: 0.6944 MB / 0.6069 GB, free: 19.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4722, allocations: 0.8114 MB / 0.6077 GB, free: 19.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.4751, allocations: 1.502 MB / 0.6092 GB, free: 18.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.4752, allocations: 0.7031 kB / 0.6092 GB, free: 18.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01476/0.4899, allocations: 4.354 MB / 0.6135 GB, free: 17.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.49, allocations: 6.312 kB / 0.6135 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.49, allocations: 1.438 kB / 0.6135 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006807/0.4969, allocations: 1.901 MB / 0.6153 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.4979, allocations: 167.5 kB / 0.6155 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.5177, allocations: 9.195 MB / 0.6245 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5195, allocations: 163 kB / 0.6246 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.5196, allocations: 39.98 kB / 0.6247 GB, free: 7.059 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 (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.0004694/0.5201, allocations: 230.2 kB / 0.6249 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5203, allocations: 106.7 kB / 0.625 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.5322, allocations: 4.061 MB / 0.6289 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.5322, allocations: 12 kB / 0.6289 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5323, allocations: 0 / 0.6289 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.5323, allocations: 7.969 kB / 0.629 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.5471, allocations: 5.636 MB / 0.6345 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.5471, allocations: 0 / 0.6345 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.5478, allocations: 91.89 kB / 0.6345 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006067/0.5539, allocations: 1.827 MB / 0.6363 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/0.5541, allocations: 24 kB / 0.6364 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/0.5728, allocations: 7.867 MB / 0.644 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5729, allocations: 3.938 kB / 0.644 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.588, allocations: 4.961 MB / 0.6489 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.5886, allocations: 191.6 kB / 0.6491 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.589, allocations: 16 kB / 0.6491 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5901, allocations: 91.89 kB / 0.6492 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006981/0.5908, allocations: 208.5 kB / 0.6494 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/0.5909, allocations: 20 kB / 0.6494 GB, free: 13.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008743/0.5918, allocations: 0.5667 MB / 0.6499 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5918, allocations: 0 / 0.6499 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001752/0.5936, allocations: 443.5 kB / 0.6504 GB, free: 12.36 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 (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.0003368/0.5939, allocations: 127.2 kB / 0.6505 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006872/0.6008, allocations: 2.403 MB / 0.6528 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.6009, allocations: 4 kB / 0.6528 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.6056, allocations: 1.544 MB / 0.6543 GB, free: 8.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6066, allocations: 79.44 kB / 0.6544 GB, free: 8.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.6108, allocations: 2.367 MB / 0.6567 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.6116, allocations: 1.053 MB / 0.6578 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.612, allocations: 94.75 kB / 0.6579 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.6122, allocations: 55.44 kB / 0.6579 GB, free: 4.547 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6122, allocations: 0 / 0.6579 GB, free: 4.547 MB / 462.1 MB Notification: Performance of Templates: time 0.03839/0.6506, allocations: 21.75 MB / 0.6791 GB, free: 14.8 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)