Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008716, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.401/1.401, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001213/0.001214, allocations: 180.3 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4873/0.4873, allocations: 78.55 MB / 420.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 16 kB / 0.4887 GB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 69.35 MB / 0.5564 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.2712/0.4064, allocations: 6.764 MB / 0.563 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.4122, allocations: 2.142 MB / 0.5651 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4136, allocations: 18.53 kB / 0.5651 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.4144, allocations: 197.4 kB / 0.5653 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.4168, allocations: 0.6401 MB / 0.5659 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.4189, allocations: 0.7021 MB / 0.5666 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.4211, allocations: 1.533 MB / 0.5681 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007309/0.4218, allocations: 412 kB / 0.5685 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.4228, allocations: 0.5599 MB / 0.5691 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.4236, allocations: 0.6971 MB / 0.5697 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.4237, allocations: 58.28 kB / 0.5698 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.4242, allocations: 193.6 kB / 0.57 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.4244, allocations: 245.6 kB / 0.5702 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.4249, allocations: 0.6476 MB / 0.5708 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.4263, allocations: 1.667 MB / 0.5725 GB, free: 32.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4263, allocations: 0.7188 kB / 0.5725 GB, free: 32.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4263, allocations: 0 / 0.5725 GB, free: 32.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4264, allocations: 3.219 kB / 0.5725 GB, free: 32.82 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.007595/0.434, allocations: 2.51 MB / 0.5749 GB, free: 31.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.434, allocations: 8.5 kB / 0.5749 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.4396, allocations: 0.8066 MB / 0.5757 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.4416, allocations: 0.8771 MB / 0.5766 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.4419, allocations: 241.3 kB / 0.5768 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.4421, allocations: 91.56 kB / 0.5769 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.4447, allocations: 1.419 MB / 0.5783 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.4448, allocations: 7.281 kB / 0.5783 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.4449, allocations: 37.44 kB / 0.5783 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.4449, allocations: 22.53 kB / 0.5783 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.4474, allocations: 1.299 MB / 0.5796 GB, free: 30.99 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.006159/0.4536, allocations: 4.317 MB / 0.5838 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.4567, allocations: 1.845 MB / 0.5856 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4584, allocations: 0.8967 MB / 0.5865 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4585, allocations: 23.25 kB / 0.5865 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4586, allocations: 45.06 kB / 0.5866 GB, free: 27.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.968e-06/0.4586, allocations: 0.5625 kB / 0.5866 GB, free: 27.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.03181/0.4904, allocations: 9.052 MB / 0.5954 GB, free: 25.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.4905, allocations: 118.7 kB / 0.5955 GB, free: 25.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.4922, allocations: 1.017 MB / 0.5965 GB, free: 25.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003219/0.4925, allocations: 46.39 kB / 0.5966 GB, free: 25.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.4929, allocations: 0.5692 MB / 0.5971 GB, free: 24.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.4933, allocations: 379 kB / 0.5975 GB, free: 24.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4936, allocations: 119.7 kB / 0.5976 GB, free: 24.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.4937, allocations: 353.9 kB / 0.5979 GB, free: 24.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.4955, allocations: 0.8261 MB / 0.5987 GB, free: 23.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.4975, allocations: 1.015 MB / 0.5997 GB, free: 23.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02028/0.5178, allocations: 5.437 MB / 0.605 GB, free: 21.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5178, allocations: 1.219 kB / 0.605 GB, free: 21.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01717/0.535, allocations: 5.526 MB / 0.6104 GB, free: 20.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.5353, allocations: 205.9 kB / 0.6106 GB, free: 20.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5353, allocations: 8.125 kB / 0.6106 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007758/0.543, allocations: 2.227 MB / 0.6128 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.5443, allocations: 222.8 kB / 0.613 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.5663, allocations: 10.28 MB / 0.6231 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.5684, allocations: 226.7 kB / 0.6233 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5686, allocations: 51.98 kB / 0.6233 GB, free: 8.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5686, allocations: 4.625 kB / 0.6233 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.583, allocations: 5.323 MB / 0.6285 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.583, allocations: 4 kB / 0.6285 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006539/0.5896, allocations: 2.228 MB / 0.6307 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5906, allocations: 212.5 kB / 0.6309 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.6151, allocations: 10.26 MB / 0.6409 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.6172, allocations: 207 kB / 0.6411 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.6175, allocations: 46.75 kB / 0.6412 GB, free: 6.449 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.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.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.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 (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.0009706/0.6185, allocations: 363.4 kB / 0.6415 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/0.619, allocations: 130.4 kB / 0.6416 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/0.6347, allocations: 5.177 MB / 0.6467 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6348, allocations: 13.06 kB / 0.6467 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6348, allocations: 0 / 0.6467 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/0.6349, allocations: 7.969 kB / 0.6467 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.6537, allocations: 6.948 MB / 0.6535 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.6537, allocations: 0 / 0.6535 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.6545, allocations: 123.8 kB / 0.6536 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00694/0.6615, allocations: 2.171 MB / 0.6557 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.6618, allocations: 20.8 kB / 0.6558 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/0.6837, allocations: 8.835 MB / 0.6644 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6838, allocations: 4 kB / 0.6644 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/0.7022, allocations: 6.224 MB / 0.6705 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.7029, allocations: 223.1 kB / 0.6707 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005064/0.7035, allocations: 20 kB / 0.6707 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.7049, allocations: 145 kB / 0.6708 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007981/0.7058, allocations: 200.6 kB / 0.671 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.7059, allocations: 24 kB / 0.6711 GB, free: 7.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.7071, allocations: 0.6738 MB / 0.6717 GB, free: 6.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7071, allocations: 0 / 0.6717 GB, free: 6.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003145/0.7103, allocations: 0.7762 MB / 0.6725 GB, free: 6.043 MB / 478.1 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 (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.0003599/0.7107, allocations: 138.4 kB / 0.6726 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01392/0.7246, allocations: 4.894 MB / 0.6774 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.7247, allocations: 3.938 kB / 0.6774 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005776/0.7305, allocations: 1.825 MB / 0.6792 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.7322, allocations: 133.1 kB / 0.6793 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.7372, allocations: 2.852 MB / 0.6821 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.7383, allocations: 1.169 MB / 0.6832 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006226/0.739, allocations: 124.9 kB / 0.6833 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.7393, allocations: 71.42 kB / 0.6834 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7393, allocations: 3.938 kB / 0.6834 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Templates: time 0.05188/0.7911, allocations: 30.89 MB / 0.7136 GB, free: 12.02 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1) Environment - environmentSimulation: