Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009682/0.0009683, allocations: 173.7 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 239.8 MB, free: 1.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008401/0.0008401, allocations: 101.7 kB / 290.9 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.482/0.482, allocations: 78.62 MB / 420.7 MB, free: 44.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003906, allocations: 12 kB / 0.4888 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4199, allocations: 69.33 MB / 0.5565 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.007279/0.4273, allocations: 6.348 MB / 0.5627 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.4321, allocations: 2.043 MB / 0.5647 GB, free: 35.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.4337, allocations: 19.22 kB / 0.5647 GB, free: 35.79 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.4344, allocations: 181.4 kB / 0.5649 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.4366, allocations: 0.6075 MB / 0.5655 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.4383, allocations: 0.6221 MB / 0.5661 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4405, allocations: 1.449 MB / 0.5675 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.4411, allocations: 359.7 kB / 0.5679 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009658/0.442, allocations: 0.5275 MB / 0.5684 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.4428, allocations: 0.6807 MB / 0.569 GB, free: 33.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.4429, allocations: 57.34 kB / 0.5691 GB, free: 33.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.4435, allocations: 188.5 kB / 0.5693 GB, free: 33.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.4437, allocations: 239.5 kB / 0.5695 GB, free: 33.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4439, allocations: 248.5 kB / 0.5697 GB, free: 33.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.445, allocations: 1.313 MB / 0.571 GB, free: 32.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.445, allocations: 0 / 0.571 GB, free: 32.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.445, allocations: 4 kB / 0.571 GB, free: 32.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.445, allocations: 0 / 0.571 GB, free: 32.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.007302/0.4523, allocations: 2.517 MB / 0.5735 GB, free: 31.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4524, allocations: 8.844 kB / 0.5735 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/0.4571, allocations: 0.8076 MB / 0.5743 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.4586, allocations: 0.8292 MB / 0.5751 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.4589, allocations: 249.8 kB / 0.5753 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.459, allocations: 97.73 kB / 0.5754 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.4615, allocations: 1.408 MB / 0.5768 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4615, allocations: 0 / 0.5768 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4617, allocations: 41.56 kB / 0.5768 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.4617, allocations: 30.17 kB / 0.5769 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.4641, allocations: 1.279 MB / 0.5781 GB, free: 29.69 MB / 426.7 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.00589/0.47, allocations: 4.313 MB / 0.5823 GB, free: 27.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.4731, allocations: 1.849 MB / 0.5841 GB, free: 26.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.4746, allocations: 0.8969 MB / 0.585 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.4747, allocations: 20.12 kB / 0.585 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4748, allocations: 45.22 kB / 0.5851 GB, free: 25.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.557e-06/0.4748, allocations: 0 / 0.5851 GB, free: 25.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=107): time 0.04488/0.5197, allocations: 9.016 MB / 0.5939 GB, free: 24.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.5198, allocations: 115.6 kB / 0.594 GB, free: 23.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.5224, allocations: 1.003 MB / 0.595 GB, free: 23.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.5228, allocations: 41.83 kB / 0.595 GB, free: 23.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.5233, allocations: 0.558 MB / 0.5955 GB, free: 23.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.524, allocations: 387.3 kB / 0.5959 GB, free: 22.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.5243, allocations: 29.97 kB / 0.5959 GB, free: 22.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5245, allocations: 359.5 kB / 0.5963 GB, free: 22.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.5274, allocations: 0.8093 MB / 0.5971 GB, free: 22.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.5306, allocations: 1.018 MB / 0.5981 GB, free: 21.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.5334, allocations: 0.8878 MB / 0.5989 GB, free: 21.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.5334, allocations: 5.375 kB / 0.5989 GB, free: 21.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.02597/0.5594, allocations: 5.497 MB / 0.6043 GB, free: 20.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.5596, allocations: 206.1 kB / 0.6045 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5596, allocations: 5.422 kB / 0.6045 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.5708, allocations: 2.228 MB / 0.6067 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.5724, allocations: 216.7 kB / 0.6069 GB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03536/0.6078, allocations: 10.27 MB / 0.6169 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.6106, allocations: 230.7 kB / 0.6171 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.611, allocations: 47.98 kB / 0.6172 GB, free: 11.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6111, allocations: 4 kB / 0.6172 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02256/0.6336, allocations: 5.296 MB / 0.6224 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.6337, allocations: 0 / 0.6224 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009555/0.6433, allocations: 2.222 MB / 0.6245 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6448, allocations: 207.7 kB / 0.6247 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03307/0.6779, allocations: 10.26 MB / 0.6347 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.6796, allocations: 198.8 kB / 0.6349 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.6799, allocations: 51.98 kB / 0.635 GB, free: 9.25 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.0008387/0.6807, allocations: 356.7 kB / 0.6353 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6811, allocations: 130.4 kB / 0.6355 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.6967, allocations: 5.172 MB / 0.6405 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.6967, allocations: 12 kB / 0.6405 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6968, allocations: 0 / 0.6405 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/0.6968, allocations: 7.984 kB / 0.6405 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.715, allocations: 6.929 MB / 0.6473 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7151, allocations: 0 / 0.6473 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.7158, allocations: 127.8 kB / 0.6474 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006782/0.7226, allocations: 2.164 MB / 0.6495 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/0.7229, allocations: 16 kB / 0.6495 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.7441, allocations: 8.837 MB / 0.6582 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7441, allocations: 0 / 0.6582 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/0.763, allocations: 6.212 MB / 0.6642 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.7637, allocations: 227.1 kB / 0.6645 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/0.7642, allocations: 19.98 kB / 0.6645 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.7657, allocations: 143.9 kB / 0.6646 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/0.7664, allocations: 204.6 kB / 0.6648 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7665, allocations: 24 kB / 0.6648 GB, free: 10.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.7676, allocations: 0.6621 MB / 0.6655 GB, free: 9.664 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7676, allocations: 4 kB / 0.6655 GB, free: 9.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002874/0.7705, allocations: 0.7801 MB / 0.6662 GB, free: 8.879 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * 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 (70): * Single equations (assignments): 69 * 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.0002997/0.7708, allocations: 135.1 kB / 0.6664 GB, free: 8.738 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/0.7845, allocations: 4.874 MB / 0.6711 GB, free: 3.844 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7846, allocations: 0 / 0.6711 GB, free: 3.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005207/0.7898, allocations: 1.833 MB / 0.6729 GB, free: 1.996 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.7912, allocations: 125.3 kB / 0.673 GB, free: 1.879 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.7961, allocations: 2.752 MB / 0.6757 GB, free: 15.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.7971, allocations: 1.165 MB / 0.6769 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.7975, allocations: 79.42 kB / 0.6769 GB, free: 13.82 MB / 490.7 MB Notification: Performance of SimCode: time 2.224e-06/0.7975, allocations: 0 / 0.6769 GB, free: 13.82 MB / 490.7 MB Notification: Performance of Templates: time 0.03561/0.8331, allocations: 23.64 MB / 0.7 GB, free: 6.16 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)