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.0008593/0.000863, allocations: 174.7 kB / 15.42 MB, free: 6.207 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.222/1.222, allocations: 222.9 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007879/0.0007881, allocations: 92.92 kB / 289.8 MB, free: 4.598 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2984/0.2984, allocations: 78.42 MB / 419 MB, free: 72 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 13 kB / 498.4 MB, free: 35.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2914, allocations: 68.74 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006303/0.2978, allocations: 6.388 MB / 0.5601 GB, free: 6.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3015, allocations: 1.829 MB / 0.5619 GB, free: 4.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.3021, allocations: 11.25 kB / 0.5619 GB, free: 4.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.3026, allocations: 166.8 kB / 0.5621 GB, free: 4.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.3041, allocations: 0.6217 MB / 0.5627 GB, free: 4.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3052, allocations: 0.5436 MB / 0.5632 GB, free: 4.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3064, allocations: 1.27 MB / 0.5645 GB, free: 3.508 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.3068, allocations: 255.5 kB / 0.5647 GB, free: 3.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.3074, allocations: 0.492 MB / 0.5652 GB, free: 3.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.3081, allocations: 0.6325 MB / 0.5658 GB, free: 2.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3082, allocations: 53.75 kB / 0.5659 GB, free: 2.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.3086, allocations: 183.7 kB / 0.566 GB, free: 2.816 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.3088, allocations: 213 kB / 0.5662 GB, free: 2.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.3092, allocations: 0.5227 MB / 0.5667 GB, free: 2.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.3105, allocations: 1.357 MB / 0.5681 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3105, allocations: 0 / 0.5681 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3105, allocations: 1.5 kB / 0.5681 GB, free: 1.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3105, allocations: 4 kB / 0.5681 GB, free: 1.824 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.00688/0.3174, allocations: 2.232 MB / 0.5702 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3174, allocations: 9.438 kB / 0.5703 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.3222, allocations: 0.7667 MB / 0.571 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009647/0.3232, allocations: 0.7329 MB / 0.5717 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.3234, allocations: 248.9 kB / 0.572 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3236, allocations: 72.09 kB / 0.572 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.3258, allocations: 1.093 MB / 0.5731 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3258, allocations: 0 / 0.5731 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.3259, allocations: 26.45 kB / 0.5731 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.326, allocations: 18 kB / 0.5731 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.3281, allocations: 1.031 MB / 0.5741 GB, free: 15.16 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.005149/0.3333, allocations: 3.085 MB / 0.5772 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.3362, allocations: 1.558 MB / 0.5787 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.3376, allocations: 0.7567 MB / 0.5794 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3378, allocations: 19.22 kB / 0.5794 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3378, allocations: 43.09 kB / 0.5795 GB, free: 11.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.687e-06/0.3378, allocations: 0 / 0.5795 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02842/0.3662, allocations: 7.476 MB / 0.5868 GB, free: 7.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3663, allocations: 66.19 kB / 0.5868 GB, free: 7.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3675, allocations: 0.8351 MB / 0.5877 GB, free: 7.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.3677, allocations: 41.11 kB / 0.5877 GB, free: 7.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.368, allocations: 457.2 kB / 0.5881 GB, free: 6.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.3683, allocations: 336.9 kB / 0.5885 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.3685, allocations: 102.7 kB / 0.5886 GB, free: 6.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3686, allocations: 347.7 kB / 0.5889 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.37, allocations: 0.7033 MB / 0.5896 GB, free: 5.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3716, allocations: 0.8142 MB / 0.5904 GB, free: 5.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.3744, allocations: 1.502 MB / 0.5918 GB, free: 4.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3744, allocations: 0 / 0.5918 GB, free: 4.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01307/0.3875, allocations: 4.351 MB / 0.5961 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3875, allocations: 8 kB / 0.5961 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3876, allocations: 0 / 0.5961 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006002/0.3936, allocations: 1.901 MB / 0.5979 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.3944, allocations: 171.7 kB / 0.5981 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/0.4141, allocations: 9.176 MB / 0.6071 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4156, allocations: 155 kB / 0.6072 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.4157, allocations: 47.97 kB / 0.6073 GB, free: 4.105 MB / 410.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.0004193/0.4162, allocations: 225.7 kB / 0.6075 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.4164, allocations: 110.6 kB / 0.6076 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.4286, allocations: 4.061 MB / 0.6115 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4286, allocations: 11.98 kB / 0.6116 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4286, allocations: 0 / 0.6116 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4286, allocations: 3.984 kB / 0.6116 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.4426, allocations: 5.629 MB / 0.6171 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4427, allocations: 0 / 0.6171 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.4432, allocations: 99.83 kB / 0.6172 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005654/0.4489, allocations: 1.835 MB / 0.6189 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.449, allocations: 16 kB / 0.619 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.4656, allocations: 7.87 MB / 0.6266 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4656, allocations: 3.938 kB / 0.6267 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.4794, allocations: 4.958 MB / 0.6315 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.4797, allocations: 199.5 kB / 0.6317 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4799, allocations: 20 kB / 0.6317 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000902/0.4808, allocations: 91.89 kB / 0.6318 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/0.4813, allocations: 204.5 kB / 0.632 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.4814, allocations: 20 kB / 0.632 GB, free: 10.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006243/0.482, allocations: 0.5706 MB / 0.6326 GB, free: 9.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.482, allocations: 0 / 0.6326 GB, free: 9.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001061/0.4831, allocations: 431.7 kB / 0.633 GB, free: 9.41 MB / 442.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.0002149/0.4833, allocations: 127 kB / 0.6331 GB, free: 9.277 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005765/0.4891, allocations: 2.405 MB / 0.6354 GB, free: 6.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4891, allocations: 0 / 0.6354 GB, free: 6.871 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.4932, allocations: 1.533 MB / 0.6369 GB, free: 5.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.4938, allocations: 89.3 kB / 0.637 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.4969, allocations: 2.357 MB / 0.6393 GB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.4975, allocations: 1.049 MB / 0.6404 GB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.4977, allocations: 90.77 kB / 0.6404 GB, free: 1.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4979, allocations: 55.44 kB / 0.6405 GB, free: 1.621 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4979, allocations: 0 / 0.6405 GB, free: 1.621 MB / 442.7 MB Notification: Performance of Templates: time 0.02963/0.5276, allocations: 21.25 MB / 0.6612 GB, free: 12.36 MB / 474.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)