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.0009869/0.000987, allocations: 180.7 kB / 15.45 MB, free: 6.227 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.276/1.276, allocations: 223.3 MB / 239.5 MB, free: 1.578 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.0007442/0.0007444, allocations: 94.64 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.416/0.416, allocations: 78.61 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003532, allocations: 15.98 kB / 0.4888 GB, free: 2.516 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3006, allocations: 69.34 MB / 0.5565 GB, free: 39.07 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.005248/0.3059, allocations: 6.765 MB / 0.5631 GB, free: 35.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.3096, allocations: 2.144 MB / 0.5652 GB, free: 35.15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.3103, allocations: 19.91 kB / 0.5652 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.3108, allocations: 195 kB / 0.5654 GB, free: 35.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.3126, allocations: 0.6407 MB / 0.566 GB, free: 34.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3142, allocations: 0.709 MB / 0.5667 GB, free: 34.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3158, allocations: 1.532 MB / 0.5682 GB, free: 33.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.3163, allocations: 415.9 kB / 0.5686 GB, free: 33.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.3169, allocations: 0.5617 MB / 0.5692 GB, free: 33.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.3175, allocations: 0.7053 MB / 0.5699 GB, free: 32.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3176, allocations: 58.91 kB / 0.5699 GB, free: 32.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.318, allocations: 186.8 kB / 0.5701 GB, free: 32.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3182, allocations: 241.3 kB / 0.5703 GB, free: 32.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.3186, allocations: 0.6588 MB / 0.571 GB, free: 32.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.3196, allocations: 1.656 MB / 0.5726 GB, free: 31.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3196, allocations: 0 / 0.5726 GB, free: 31.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3196, allocations: 6.5 kB / 0.5726 GB, free: 31.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3196, allocations: 0 / 0.5726 GB, free: 31.69 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.006387/0.326, allocations: 2.503 MB / 0.575 GB, free: 30.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.326, allocations: 11.44 kB / 0.5751 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.3305, allocations: 0.8025 MB / 0.5758 GB, free: 30.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.3315, allocations: 0.8804 MB / 0.5767 GB, free: 29.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3316, allocations: 242.2 kB / 0.5769 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3318, allocations: 94.19 kB / 0.577 GB, free: 29.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.3339, allocations: 1.413 MB / 0.5784 GB, free: 29.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3339, allocations: 5.156 kB / 0.5784 GB, free: 29.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-05/0.334, allocations: 35.97 kB / 0.5784 GB, free: 28.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.334, allocations: 29.09 kB / 0.5785 GB, free: 28.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.3361, allocations: 1.293 MB / 0.5797 GB, free: 28.57 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.004692/0.3408, allocations: 4.317 MB / 0.5839 GB, free: 25.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.3435, allocations: 1.855 MB / 0.5858 GB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3448, allocations: 0.8983 MB / 0.5866 GB, free: 24.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.345, allocations: 22.95 kB / 0.5867 GB, free: 24.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.345, allocations: 40.81 kB / 0.5867 GB, free: 24.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.345, allocations: 0 / 0.5867 GB, free: 24.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=107): time 0.02629/0.3713, allocations: 9.065 MB / 0.5955 GB, free: 22.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.3714, allocations: 119.5 kB / 0.5957 GB, free: 22.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3728, allocations: 1.012 MB / 0.5966 GB, free: 22.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.3731, allocations: 46.08 kB / 0.5967 GB, free: 22.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.3734, allocations: 0.5645 MB / 0.5972 GB, free: 21.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3737, allocations: 383.8 kB / 0.5976 GB, free: 21.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3739, allocations: 119.2 kB / 0.5977 GB, free: 21.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.374, allocations: 357.7 kB / 0.5981 GB, free: 21.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.3755, allocations: 0.8176 MB / 0.5989 GB, free: 20.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.3771, allocations: 1.029 MB / 0.5999 GB, free: 20.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/0.3947, allocations: 5.419 MB / 0.6052 GB, free: 18.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3947, allocations: 1.406 kB / 0.6052 GB, free: 18.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01472/0.4094, allocations: 5.531 MB / 0.6106 GB, free: 17.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/0.4096, allocations: 209.8 kB / 0.6108 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4096, allocations: 7.188 kB / 0.6108 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006035/0.4156, allocations: 2.231 MB / 0.6129 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4167, allocations: 219.7 kB / 0.6132 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/0.4356, allocations: 10.28 MB / 0.6232 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4372, allocations: 226.7 kB / 0.6234 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.4374, allocations: 47.98 kB / 0.6235 GB, free: 4.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4374, allocations: 5.25 kB / 0.6235 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0126/0.45, allocations: 5.327 MB / 0.6287 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4501, allocations: 4 kB / 0.6287 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/0.4562, allocations: 2.225 MB / 0.6308 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/0.4572, allocations: 203.7 kB / 0.631 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.4785, allocations: 10.27 MB / 0.6411 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.4801, allocations: 206.9 kB / 0.6413 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.4803, allocations: 47.98 kB / 0.6413 GB, free: 2.527 MB / 442.7 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.0007409/0.481, allocations: 361.9 kB / 0.6417 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.4813, allocations: 130.4 kB / 0.6418 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.4948, allocations: 5.18 MB / 0.6468 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4949, allocations: 12 kB / 0.6468 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4949, allocations: 3.984 kB / 0.6469 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4949, allocations: 3.984 kB / 0.6469 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.5103, allocations: 6.94 MB / 0.6536 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5104, allocations: 0 / 0.6536 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.511, allocations: 131.8 kB / 0.6538 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005934/0.5169, allocations: 2.164 MB / 0.6559 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.517, allocations: 19.98 kB / 0.6559 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.018/0.535, allocations: 8.837 MB / 0.6645 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.5351, allocations: 4 kB / 0.6645 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.5502, allocations: 6.224 MB / 0.6706 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.5506, allocations: 231.1 kB / 0.6708 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.5508, allocations: 20 kB / 0.6708 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5518, allocations: 139.9 kB / 0.671 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/0.5524, allocations: 204.6 kB / 0.6712 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.5525, allocations: 24 kB / 0.6712 GB, free: 3.566 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008394/0.5533, allocations: 0.6855 MB / 0.6719 GB, free: 2.875 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5533, allocations: 0 / 0.6719 GB, free: 2.875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001932/0.5553, allocations: 0.7723 MB / 0.6726 GB, free: 2.102 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 (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.000237/0.5555, allocations: 124 kB / 0.6727 GB, free: 1.973 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01123/0.5668, allocations: 4.893 MB / 0.6775 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5668, allocations: 0.5 kB / 0.6775 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/0.5712, allocations: 1.839 MB / 0.6793 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.5721, allocations: 131.6 kB / 0.6794 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.5759, allocations: 2.846 MB / 0.6822 GB, free: 8.219 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.5766, allocations: 1.165 MB / 0.6834 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000499/0.5772, allocations: 128.1 kB / 0.6835 GB, free: 6.891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.5774, allocations: 71.44 kB / 0.6835 GB, free: 6.82 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5774, allocations: 0 / 0.6835 GB, free: 6.82 MB / 490.7 MB Notification: Performance of Templates: time 0.04221/0.6196, allocations: 30.9 MB / 0.7137 GB, free: 7.918 MB / 0.5105 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)