Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009579, allocations: 178.4 kB / 16.07 MB, free: 5.578 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.283/1.283, allocations: 222.9 MB / 239.7 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007358/0.0007359, allocations: 93.25 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4347/0.4347, allocations: 78.42 MB / 419.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 16.2 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3172, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.007927/0.3251, allocations: 7.358 MB / 0.5617 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.3298, allocations: 2.196 MB / 0.5638 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.3312, allocations: 19.94 kB / 0.5639 GB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.3323, allocations: 202.6 kB / 0.5641 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.3351, allocations: 0.6567 MB / 0.5647 GB, free: 9.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.3371, allocations: 0.7308 MB / 0.5654 GB, free: 9.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.3392, allocations: 1.577 MB / 0.567 GB, free: 7.426 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.3399, allocations: 418.5 kB / 0.5674 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.3408, allocations: 0.5712 MB / 0.5679 GB, free: 6.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.3416, allocations: 0.7266 MB / 0.5686 GB, free: 5.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.3417, allocations: 60 kB / 0.5687 GB, free: 5.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.3423, allocations: 191.9 kB / 0.5689 GB, free: 5.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3425, allocations: 254.6 kB / 0.5691 GB, free: 5.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.3431, allocations: 0.6402 MB / 0.5697 GB, free: 4.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3443, allocations: 1.348 MB / 0.571 GB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3444, allocations: 0 / 0.571 GB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3444, allocations: 4 kB / 0.571 GB, free: 3.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.3444, allocations: 0 / 0.571 GB, free: 3.184 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.01016/0.3546, allocations: 2.486 MB / 0.5735 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3546, allocations: 8.031 kB / 0.5735 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00801/0.3627, allocations: 0.8021 MB / 0.5743 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.3651, allocations: 0.9139 MB / 0.5752 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.3654, allocations: 234.5 kB / 0.5754 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.3657, allocations: 96 kB / 0.5755 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/0.3696, allocations: 1.37 MB / 0.5768 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.3696, allocations: 7.938 kB / 0.5768 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3698, allocations: 40 kB / 0.5769 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.3698, allocations: 27.94 kB / 0.5769 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.3736, allocations: 1.214 MB / 0.5781 GB, free: 11.8 MB / 394.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.009591/0.3832, allocations: 4.491 MB / 0.5825 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.3878, allocations: 1.713 MB / 0.5841 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.3903, allocations: 0.8263 MB / 0.5849 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.3904, allocations: 16.98 kB / 0.585 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.3905, allocations: 51.5 kB / 0.585 GB, free: 4.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=110): time 4.539e-06/0.3905, allocations: 0 / 0.585 GB, free: 4.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.03735/0.4279, allocations: 7.02 MB / 0.5919 GB, free: 13.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.428, allocations: 123.8 kB / 0.592 GB, free: 13.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.4303, allocations: 1.056 MB / 0.593 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/0.4306, allocations: 45.7 kB / 0.5931 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000611/0.4312, allocations: 0.5789 MB / 0.5936 GB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005701/0.4318, allocations: 398.3 kB / 0.594 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.4321, allocations: 121.6 kB / 0.5941 GB, free: 10.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4323, allocations: 361.9 kB / 0.5945 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.4347, allocations: 0.7496 MB / 0.5952 GB, free: 9.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.4372, allocations: 0.9608 MB / 0.5961 GB, free: 8.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02616/0.4634, allocations: 4.979 MB / 0.601 GB, free: 3.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4635, allocations: 0 / 0.601 GB, free: 3.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.02112/0.4846, allocations: 4.577 MB / 0.6055 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.4849, allocations: 218.6 kB / 0.6057 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.485, allocations: 7.984 kB / 0.6057 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009076/0.4941, allocations: 1.897 MB / 0.6075 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.4956, allocations: 219.7 kB / 0.6077 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03108/0.5268, allocations: 9.192 MB / 0.6167 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.5288, allocations: 186.7 kB / 0.6169 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.529, allocations: 55.92 kB / 0.6169 GB, free: 3.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.529, allocations: 6.188 kB / 0.617 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01544/0.5444, allocations: 4.386 MB / 0.6212 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5445, allocations: 8.312 kB / 0.6212 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006229/0.5507, allocations: 1.889 MB / 0.6231 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/0.5517, allocations: 223.7 kB / 0.6233 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.5726, allocations: 9.144 MB / 0.6322 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5741, allocations: 174.9 kB / 0.6324 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.5743, allocations: 55.92 kB / 0.6324 GB, free: 3.211 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.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: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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.0007682/0.575, allocations: 370.9 kB / 0.6328 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.5754, allocations: 138.3 kB / 0.6329 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.5887, allocations: 4.208 MB / 0.637 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.5887, allocations: 8 kB / 0.6371 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5887, allocations: 11.92 kB / 0.6371 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.5888, allocations: 3.984 kB / 0.6371 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.6049, allocations: 6.031 MB / 0.643 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.605, allocations: 0 / 0.643 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.6057, allocations: 119.9 kB / 0.6431 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006144/0.6118, allocations: 1.828 MB / 0.6449 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.612, allocations: 24 kB / 0.6449 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.6307, allocations: 7.872 MB / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6307, allocations: 0 / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/0.6467, allocations: 5.212 MB / 0.6577 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.6472, allocations: 227.1 kB / 0.6579 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.6475, allocations: 20 kB / 0.6579 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.6487, allocations: 95.89 kB / 0.658 GB, free: 8.711 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006835/0.6494, allocations: 212.6 kB / 0.6582 GB, free: 8.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.6495, allocations: 24 kB / 0.6582 GB, free: 8.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009646/0.6505, allocations: 0.7023 MB / 0.6589 GB, free: 7.773 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6505, allocations: 0 / 0.6589 GB, free: 7.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002224/0.6527, allocations: 0.7956 MB / 0.6597 GB, free: 6.977 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.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 (73): * Single equations (assignments): 72 * 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.0002756/0.653, allocations: 135.1 kB / 0.6598 GB, free: 6.836 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/0.6655, allocations: 4.389 MB / 0.6641 GB, free: 2.422 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.6655, allocations: 0.5 kB / 0.6641 GB, free: 2.422 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004666/0.6702, allocations: 1.602 MB / 0.6657 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6715, allocations: 128.7 kB / 0.6658 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.6759, allocations: 2.926 MB / 0.6686 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.6767, allocations: 1.185 MB / 0.6698 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.677, allocations: 83.38 kB / 0.6699 GB, free: 12.42 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.677, allocations: 0 / 0.6699 GB, free: 12.42 MB / 490.7 MB Notification: Performance of Templates: time 0.2494/0.9265, allocations: 24.25 MB / 0.6936 GB, free: 112.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)