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.001212/0.001213, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.413/1.413, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001627/0.001627, allocations: 188.5 kB / 290.4 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.5339/0.5339, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 81.62 kB / 0.5734 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1599, allocations: 71.29 MB / 0.643 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006907/0.1669, allocations: 6.051 MB / 0.6489 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.1716, allocations: 1.778 MB / 0.6507 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.1723, allocations: 11.94 kB / 0.6507 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1729, allocations: 214.2 kB / 0.6509 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1747, allocations: 0.7073 MB / 0.6516 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.176, allocations: 0.5771 MB / 0.6521 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.1774, allocations: 1.331 MB / 0.6534 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.1778, allocations: 295.3 kB / 0.6537 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.1785, allocations: 0.5601 MB / 0.6543 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.1792, allocations: 0.6922 MB / 0.6549 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.1794, allocations: 103.9 kB / 0.655 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.1798, allocations: 235.9 kB / 0.6553 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.18, allocations: 258.8 kB / 0.6555 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.1805, allocations: 0.5787 MB / 0.6561 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.182, allocations: 1.44 MB / 0.6575 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.182, allocations: 7.938 kB / 0.6575 GB, free: 4.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.182, allocations: 0 / 0.6575 GB, free: 4.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.182, allocations: 0 / 0.6575 GB, free: 4.723 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.007623/0.1897, allocations: 2.446 MB / 0.6599 GB, free: 2.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1897, allocations: 12.03 kB / 0.6599 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/0.1945, allocations: 0.7711 MB / 0.6606 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1958, allocations: 0.7321 MB / 0.6614 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.1961, allocations: 248.2 kB / 0.6616 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.1962, allocations: 75.98 kB / 0.6617 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.1984, allocations: 1.09 MB / 0.6627 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1984, allocations: 0 / 0.6627 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.1985, allocations: 24 kB / 0.6627 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.1986, allocations: 20 kB / 0.6628 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.2007, allocations: 1.035 MB / 0.6638 GB, free: 14.12 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.005131/0.2058, allocations: 3.045 MB / 0.6668 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.2087, allocations: 1.569 MB / 0.6683 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.2102, allocations: 0.7618 MB / 0.669 GB, free: 8.484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.2103, allocations: 9 kB / 0.669 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2103, allocations: 47.56 kB / 0.6691 GB, free: 8.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.424e-06/0.2103, allocations: 0 / 0.6691 GB, free: 8.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02893/0.2392, allocations: 7.472 MB / 0.6764 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.2394, allocations: 72.33 kB / 0.6764 GB, free: 0.832 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2407, allocations: 0.8398 MB / 0.6773 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.2408, allocations: 41.7 kB / 0.6773 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.2412, allocations: 456.4 kB / 0.6777 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.2416, allocations: 331.3 kB / 0.6781 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.242, allocations: 194.8 kB / 0.6782 GB, free: 14.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2422, allocations: 353.9 kB / 0.6786 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.2437, allocations: 0.6897 MB / 0.6793 GB, free: 13.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.2452, allocations: 0.8219 MB / 0.6801 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.2481, allocations: 1.489 MB / 0.6815 GB, free: 11.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.2482, allocations: 0 / 0.6815 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0139/0.2621, allocations: 4.359 MB / 0.6858 GB, free: 7.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.2622, allocations: 9.25 kB / 0.6858 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.2622, allocations: 0 / 0.6858 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/0.269, allocations: 1.889 MB / 0.6876 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.27, allocations: 179.7 kB / 0.6878 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.2933, allocations: 9.968 MB / 0.6975 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.2949, allocations: 163 kB / 0.6977 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.295, allocations: 40 kB / 0.6977 GB, free: 10.76 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.0004951/0.2955, allocations: 233.6 kB / 0.6979 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2957, allocations: 110.6 kB / 0.6981 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.3083, allocations: 4.049 MB / 0.702 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.3084, allocations: 8 kB / 0.702 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3084, allocations: 4 kB / 0.702 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.3084, allocations: 7.969 kB / 0.702 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.3235, allocations: 5.625 MB / 0.7075 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.3235, allocations: 0 / 0.7075 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.3242, allocations: 91.89 kB / 0.7076 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/0.3301, allocations: 1.835 MB / 0.7094 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.3303, allocations: 19.98 kB / 0.7094 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.3499, allocations: 8.631 MB / 0.7178 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.35, allocations: 0 / 0.7178 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.3653, allocations: 4.975 MB / 0.7227 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.3657, allocations: 195.6 kB / 0.7229 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3659, allocations: 20 kB / 0.7229 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.3668, allocations: 83.89 kB / 0.723 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006705/0.3675, allocations: 204.7 kB / 0.7232 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.3675, allocations: 24 kB / 0.7232 GB, free: 308 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007445/0.3683, allocations: 0.5706 MB / 0.7238 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3683, allocations: 0 / 0.7238 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001281/0.3696, allocations: 435.6 kB / 0.7242 GB, free: 15.29 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.0002796/0.3699, allocations: 127.2 kB / 0.7243 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006454/0.3763, allocations: 2.443 MB / 0.7267 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3764, allocations: 0.5 kB / 0.7267 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00452/0.3809, allocations: 1.573 MB / 0.7282 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.3818, allocations: 85.34 kB / 0.7283 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.3857, allocations: 2.015 MB / 0.7303 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.3863, allocations: 1.057 MB / 0.7313 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.3866, allocations: 67.42 kB / 0.7314 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.3866, allocations: 0 / 0.7314 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.02521/0.4118, allocations: 18.93 MB / 0.7499 GB, free: 4.879 MB / 0.545 GB 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)