Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.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 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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 111.6 kB / 16.41 MB, free: 6.012 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.51/1.51, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001631/0.001631, allocations: 184.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5364/0.5364, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 81.5 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1846, allocations: 71.28 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.008656/0.1933, allocations: 6.336 MB / 0.6492 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.1981, allocations: 1.942 MB / 0.6511 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.1993, allocations: 19.94 kB / 0.6511 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2004, allocations: 230 kB / 0.6513 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.2034, allocations: 0.7236 MB / 0.652 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.2052, allocations: 0.6627 MB / 0.6527 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.2075, allocations: 1.46 MB / 0.6541 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/0.2082, allocations: 332.3 kB / 0.6544 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.2093, allocations: 0.6069 MB / 0.655 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.2107, allocations: 0.7272 MB / 0.6557 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.2111, allocations: 108 kB / 0.6558 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.212, allocations: 243.8 kB / 0.6561 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.2125, allocations: 290.8 kB / 0.6563 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.2136, allocations: 0.6174 MB / 0.6569 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.216, allocations: 1.541 MB / 0.6585 GB, free: 3.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.216, allocations: 4 kB / 0.6585 GB, free: 3.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.216, allocations: 0 / 0.6585 GB, free: 3.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.226e-05/0.2161, allocations: 3.938 kB / 0.6585 GB, free: 3.715 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009759/0.2258, allocations: 2.548 MB / 0.661 GB, free: 1.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2259, allocations: 12.03 kB / 0.661 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.2311, allocations: 0.7711 MB / 0.6617 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.233, allocations: 0.8226 MB / 0.6625 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.2333, allocations: 226.4 kB / 0.6627 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.2335, allocations: 72 kB / 0.6628 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.2362, allocations: 1.133 MB / 0.6639 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2362, allocations: 3.938 kB / 0.6639 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2363, allocations: 28 kB / 0.6639 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.2364, allocations: 20 kB / 0.664 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.2389, allocations: 1.074 MB / 0.665 GB, free: 12.85 MB / 478.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.005969/0.2448, allocations: 3.128 MB / 0.6681 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.2481, allocations: 1.604 MB / 0.6696 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.2496, allocations: 0.7637 MB / 0.6704 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2498, allocations: 13 kB / 0.6704 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2498, allocations: 43.56 kB / 0.6704 GB, free: 7.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=93): time 4.037e-06/0.2498, allocations: 0 / 0.6704 GB, free: 7.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.02825/0.2781, allocations: 7.078 MB / 0.6773 GB, free: 15.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.2782, allocations: 86.11 kB / 0.6774 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.28, allocations: 0.9456 MB / 0.6783 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.2802, allocations: 45.64 kB / 0.6784 GB, free: 14.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.2806, allocations: 492.5 kB / 0.6789 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.2811, allocations: 331.2 kB / 0.6792 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/0.2816, allocations: 202.8 kB / 0.6794 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2817, allocations: 349.9 kB / 0.6797 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.2833, allocations: 0.7087 MB / 0.6804 GB, free: 12.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.2851, allocations: 0.8423 MB / 0.6812 GB, free: 11.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/0.3042, allocations: 4.724 MB / 0.6858 GB, free: 7.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3043, allocations: 0 / 0.6858 GB, free: 7.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01545/0.3197, allocations: 4.406 MB / 0.6901 GB, free: 2.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.3198, allocations: 13.19 kB / 0.6901 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3198, allocations: 0 / 0.6901 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/0.3266, allocations: 1.893 MB / 0.692 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.3276, allocations: 175.7 kB / 0.6922 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0263/0.354, allocations: 9.955 MB / 0.7019 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.3557, allocations: 182.8 kB / 0.7021 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.356, allocations: 39.92 kB / 0.7021 GB, free: 6.254 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002229/0.3582, allocations: 0.8734 MB / 0.7029 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001726/0.36, allocations: 0.8267 MB / 0.7038 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01829/0.3783, allocations: 4.693 MB / 0.7083 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-06/0.3783, allocations: 4 kB / 0.7083 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01431/0.3927, allocations: 4.378 MB / 0.7126 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3927, allocations: 4 kB / 0.7126 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3927, allocations: 4 kB / 0.7126 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006521/0.3993, allocations: 1.897 MB / 0.7145 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.4002, allocations: 167.7 kB / 0.7146 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/0.4248, allocations: 9.959 MB / 0.7244 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4266, allocations: 163 kB / 0.7245 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.4269, allocations: 43.98 kB / 0.7246 GB, free: 15.02 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (107): * Single equations (assignments): 106 * 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.0004993/0.4274, allocations: 232 kB / 0.7248 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/0.4279, allocations: 114.6 kB / 0.7249 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.442, allocations: 4.073 MB / 0.7289 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.4421, allocations: 8 kB / 0.7289 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4421, allocations: 7.938 kB / 0.7289 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.4421, allocations: 3.984 kB / 0.7289 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.4588, allocations: 5.712 MB / 0.7345 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.4589, allocations: 7.938 kB / 0.7345 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.4595, allocations: 95.83 kB / 0.7346 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00631/0.4659, allocations: 1.827 MB / 0.7364 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.466, allocations: 20 kB / 0.7364 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/0.4877, allocations: 8.615 MB / 0.7448 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4878, allocations: 4 kB / 0.7448 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.5041, allocations: 5.003 MB / 0.7497 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.5047, allocations: 211.4 kB / 0.7499 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.5051, allocations: 16 kB / 0.7499 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5065, allocations: 111.9 kB / 0.75 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007021/0.5072, allocations: 196.7 kB / 0.7502 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.5073, allocations: 24 kB / 0.7502 GB, free: 4.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001204/0.5085, allocations: 0.6469 MB / 0.7508 GB, free: 3.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.6e-07/0.5085, allocations: 0 / 0.7508 GB, free: 3.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002953/0.5115, allocations: 0.7217 MB / 0.7515 GB, free: 3.012 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0003728/0.5119, allocations: 127.2 kB / 0.7517 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01298/0.5249, allocations: 4.256 MB / 0.7558 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.5249, allocations: 8 kB / 0.7558 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005305/0.5302, allocations: 1.569 MB / 0.7574 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5317, allocations: 106.7 kB / 0.7575 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.5366, allocations: 2.135 MB / 0.7595 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.5375, allocations: 1.109 MB / 0.7606 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.5378, allocations: 67.42 kB / 0.7607 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5378, allocations: 0 / 0.7607 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.372/0.9098, allocations: 21.34 MB / 0.7815 GB, free: 115.1 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)