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.001753/0.001753, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.346/1.346, allocations: 222.9 MB / 239 MB, free: 4.707 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.001264/0.001264, allocations: 200.3 kB / 289.3 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5289/0.5289, allocations: 91.9 MB / 431.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 83.86 kB / 0.5014 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3477, allocations: 71.26 MB / 0.571 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005474/0.3532, allocations: 6.399 MB / 0.5772 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.3563, allocations: 1.835 MB / 0.579 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.357, allocations: 11.38 kB / 0.579 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.3575, allocations: 171.1 kB / 0.5792 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.359, allocations: 0.6148 MB / 0.5798 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.36, allocations: 0.5336 MB / 0.5803 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.361, allocations: 1.326 MB / 0.5816 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3614, allocations: 287.4 kB / 0.5819 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.362, allocations: 0.5735 MB / 0.5824 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.3625, allocations: 0.689 MB / 0.5831 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.3627, allocations: 97.75 kB / 0.5832 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.3631, allocations: 236.3 kB / 0.5834 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3633, allocations: 264.6 kB / 0.5837 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.3637, allocations: 0.5811 MB / 0.5843 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3648, allocations: 1.424 MB / 0.5856 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3648, allocations: 0 / 0.5856 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3648, allocations: 0 / 0.5856 GB, free: 28.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.3648, allocations: 0 / 0.5856 GB, free: 28.56 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.007424/0.3723, allocations: 2.449 MB / 0.588 GB, free: 27.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3723, allocations: 9.125 kB / 0.588 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.377, allocations: 0.7713 MB / 0.5888 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.378, allocations: 0.7369 MB / 0.5895 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3783, allocations: 252.9 kB / 0.5898 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.3784, allocations: 72.09 kB / 0.5898 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.3805, allocations: 1.085 MB / 0.5909 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3805, allocations: 0 / 0.5909 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.3806, allocations: 30.5 kB / 0.5909 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.3806, allocations: 17.12 kB / 0.5909 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.3827, allocations: 1.036 MB / 0.5919 GB, free: 25.75 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.004635/0.3873, allocations: 3.067 MB / 0.5949 GB, free: 23.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.3901, allocations: 1.573 MB / 0.5965 GB, free: 23.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.3915, allocations: 0.7551 MB / 0.5972 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3916, allocations: 15.05 kB / 0.5972 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3916, allocations: 45.17 kB / 0.5973 GB, free: 22.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.016e-06/0.3916, allocations: 0 / 0.5973 GB, free: 22.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03162/0.4232, allocations: 7.469 MB / 0.6046 GB, free: 21.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4233, allocations: 62.28 kB / 0.6046 GB, free: 21.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4245, allocations: 0.8478 MB / 0.6054 GB, free: 20.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.4247, allocations: 41.48 kB / 0.6055 GB, free: 20.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.4249, allocations: 449 kB / 0.6059 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.4252, allocations: 337.5 kB / 0.6062 GB, free: 20.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.4257, allocations: 194.4 kB / 0.6064 GB, free: 20.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.4257, allocations: 354 kB / 0.6068 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.4272, allocations: 0.6905 MB / 0.6074 GB, free: 19.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.4287, allocations: 0.8192 MB / 0.6082 GB, free: 19.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.4316, allocations: 1.499 MB / 0.6097 GB, free: 18.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4316, allocations: 0 / 0.6097 GB, free: 18.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01395/0.4456, allocations: 4.353 MB / 0.614 GB, free: 17.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.4456, allocations: 14.2 kB / 0.614 GB, free: 17.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4457, allocations: 1.219 kB / 0.614 GB, free: 17.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/0.452, allocations: 1.9 MB / 0.6158 GB, free: 16.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.453, allocations: 176.5 kB / 0.616 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.473, allocations: 9.971 MB / 0.6257 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4747, allocations: 163 kB / 0.6259 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4748, allocations: 39.98 kB / 0.6259 GB, free: 6.039 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.0003892/0.4752, allocations: 225.7 kB / 0.6261 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.4753, allocations: 110.6 kB / 0.6262 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.4874, allocations: 4.057 MB / 0.6302 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.4874, allocations: 8 kB / 0.6302 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4874, allocations: 4 kB / 0.6302 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.4875, allocations: 7.984 kB / 0.6302 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.5025, allocations: 5.633 MB / 0.6357 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.5026, allocations: 4 kB / 0.6357 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.5032, allocations: 87.89 kB / 0.6358 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006141/0.5094, allocations: 1.847 MB / 0.6376 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.5095, allocations: 19.98 kB / 0.6376 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.5292, allocations: 8.643 MB / 0.6461 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5292, allocations: 0 / 0.6461 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.5442, allocations: 4.961 MB / 0.6509 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.5447, allocations: 191.6 kB / 0.6511 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.5449, allocations: 19.98 kB / 0.6511 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/0.5459, allocations: 91.89 kB / 0.6512 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/0.5465, allocations: 204.7 kB / 0.6514 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.5466, allocations: 20 kB / 0.6514 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.5473, allocations: 0.5667 MB / 0.652 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5473, allocations: 0 / 0.652 GB, free: 10.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001245/0.5486, allocations: 439.5 kB / 0.6524 GB, free: 10.56 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.0002671/0.5489, allocations: 131.2 kB / 0.6525 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006738/0.5556, allocations: 2.475 MB / 0.6549 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5556, allocations: 0.5 kB / 0.6549 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004584/0.5602, allocations: 1.575 MB / 0.6565 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.5611, allocations: 90.48 kB / 0.6566 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5648, allocations: 2.367 MB / 0.6589 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.5654, allocations: 1.057 MB / 0.6599 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.5657, allocations: 82.78 kB / 0.66 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5659, allocations: 63.42 kB / 0.66 GB, free: 2.637 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.566, allocations: 0 / 0.66 GB, free: 2.637 MB / 462.1 MB Notification: Performance of Templates: time 0.03526/0.6012, allocations: 23.11 MB / 0.6826 GB, free: 11.54 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)