Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 168.8 kB / 16.1 MB, free: 5.691 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.353/1.353, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0007836/0.0007837, allocations: 101.8 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5232/0.5232, allocations: 78.62 MB / 421 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 15.94 kB / 0.4894 GB, free: 9.281 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3731, allocations: 69.35 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004564/0.3777, allocations: 5.916 MB / 0.5629 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3806, allocations: 1.825 MB / 0.5647 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.3809, allocations: 15.94 kB / 0.5647 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.3813, allocations: 170.9 kB / 0.5649 GB, free: 10.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3826, allocations: 0.6121 MB / 0.5655 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.3836, allocations: 0.5365 MB / 0.566 GB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009005/0.3845, allocations: 1.268 MB / 0.5672 GB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.3848, allocations: 252.1 kB / 0.5675 GB, free: 8.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.3853, allocations: 0.4976 MB / 0.568 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.3858, allocations: 0.6298 MB / 0.5686 GB, free: 7.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3859, allocations: 52 kB / 0.5686 GB, free: 6.992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.3862, allocations: 191.8 kB / 0.5688 GB, free: 6.805 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3864, allocations: 210.8 kB / 0.569 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.3867, allocations: 0.549 MB / 0.5696 GB, free: 6.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007159/0.3875, allocations: 1.061 MB / 0.5706 GB, free: 4.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3875, allocations: 0 / 0.5706 GB, free: 4.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3875, allocations: 0 / 0.5706 GB, free: 4.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3875, allocations: 4 kB / 0.5706 GB, free: 4.973 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006243/0.3938, allocations: 2.287 MB / 0.5728 GB, free: 2.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3938, allocations: 12.03 kB / 0.5728 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.3983, allocations: 0.7712 MB / 0.5736 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.3992, allocations: 0.7321 MB / 0.5743 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.3994, allocations: 264.1 kB / 0.5746 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3996, allocations: 72 kB / 0.5746 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.4016, allocations: 1.157 MB / 0.5758 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4016, allocations: 0 / 0.5758 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.4017, allocations: 32 kB / 0.5758 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.4018, allocations: 16 kB / 0.5758 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.404, allocations: 1.124 MB / 0.5769 GB, free: 14.36 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.005136/0.4092, allocations: 3.135 MB / 0.58 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.4123, allocations: 1.727 MB / 0.5817 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.4138, allocations: 0.8244 MB / 0.5825 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.414, allocations: 13 kB / 0.5825 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.414, allocations: 43.55 kB / 0.5825 GB, free: 8.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.605e-06/0.414, allocations: 4 kB / 0.5825 GB, free: 8.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.03063/0.4447, allocations: 9.249 MB / 0.5915 GB, free: 15.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4448, allocations: 64.34 kB / 0.5916 GB, free: 15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.446, allocations: 0.8398 MB / 0.5924 GB, free: 14.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.4462, allocations: 41.7 kB / 0.5925 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.4465, allocations: 456.4 kB / 0.5929 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.4469, allocations: 327.3 kB / 0.5932 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.447, allocations: 101.7 kB / 0.5933 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4472, allocations: 353.9 kB / 0.5937 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.4488, allocations: 0.7678 MB / 0.5944 GB, free: 12.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.4504, allocations: 0.8962 MB / 0.5953 GB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.4536, allocations: 1.645 MB / 0.5969 GB, free: 9.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4536, allocations: 4 kB / 0.5969 GB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01463/0.4683, allocations: 5.316 MB / 0.6021 GB, free: 4.148 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.4683, allocations: 11.98 kB / 0.6021 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4683, allocations: 0 / 0.6021 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00656/0.4749, allocations: 2.221 MB / 0.6043 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.4758, allocations: 179.8 kB / 0.6044 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.4984, allocations: 10.29 MB / 0.6145 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5, allocations: 202.9 kB / 0.6147 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5001, allocations: 39.98 kB / 0.6147 GB, free: 7.066 MB / 426.7 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.0006103/0.5008, allocations: 229.7 kB / 0.6149 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.501, allocations: 110.6 kB / 0.615 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/0.5211, allocations: 5.01 MB / 0.6199 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.5211, allocations: 15.98 kB / 0.6199 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5212, allocations: 0 / 0.6199 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.5212, allocations: 3.984 kB / 0.6199 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.5376, allocations: 6.593 MB / 0.6264 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5377, allocations: 0 / 0.6264 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007866/0.5385, allocations: 91.89 kB / 0.6265 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/0.5486, allocations: 2.163 MB / 0.6286 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/0.5489, allocations: 16 kB / 0.6286 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0405/0.5895, allocations: 8.846 MB / 0.6372 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5895, allocations: 3.938 kB / 0.6372 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03253/0.6221, allocations: 5.977 MB / 0.6431 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.6228, allocations: 207.5 kB / 0.6433 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.623, allocations: 20 kB / 0.6433 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.6249, allocations: 127.9 kB / 0.6434 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/0.626, allocations: 200.5 kB / 0.6436 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.6261, allocations: 31.98 kB / 0.6436 GB, free: 9.086 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.6274, allocations: 0.5628 MB / 0.6442 GB, free: 8.512 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6275, allocations: 3.938 kB / 0.6442 GB, free: 8.508 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002017/0.6295, allocations: 439.6 kB / 0.6446 GB, free: 8.078 MB / 458.7 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.0004394/0.6299, allocations: 132.8 kB / 0.6447 GB, free: 7.941 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01284/0.6428, allocations: 2.707 MB / 0.6474 GB, free: 5.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.6429, allocations: 4.062 kB / 0.6474 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00952/0.6524, allocations: 1.763 MB / 0.6491 GB, free: 3.445 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6538, allocations: 87.42 kB / 0.6492 GB, free: 3.355 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.6602, allocations: 2.485 MB / 0.6516 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/0.6612, allocations: 1.061 MB / 0.6527 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.6617, allocations: 63.36 kB / 0.6527 GB, free: 15.69 MB / 474.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6617, allocations: 7.938 kB / 0.6527 GB, free: 15.68 MB / 474.7 MB Notification: Performance of Templates: time 0.04456/0.7063, allocations: 18.72 MB / 0.671 GB, free: 12.94 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)