Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008949/0.0008951, allocations: 180.2 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.224/1.224, allocations: 223.3 MB / 239.5 MB, free: 1.598 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.0007016/0.0007016, allocations: 102.2 kB / 290.7 MB, free: 13.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.4202/0.4202, allocations: 78.61 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 8 kB / 0.4888 GB, free: 2.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3177, allocations: 69.34 MB / 0.5565 GB, free: 39.02 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005184/0.3229, allocations: 6.19 MB / 0.5626 GB, free: 36.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.3263, allocations: 1.98 MB / 0.5645 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.3267, allocations: 12.44 kB / 0.5645 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.3272, allocations: 186.6 kB / 0.5647 GB, free: 35.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.3286, allocations: 0.6368 MB / 0.5653 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.33, allocations: 0.6045 MB / 0.5659 GB, free: 35.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3313, allocations: 1.387 MB / 0.5672 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.3317, allocations: 298.2 kB / 0.5675 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.3324, allocations: 0.5285 MB / 0.568 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.333, allocations: 0.663 MB / 0.5687 GB, free: 33.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3331, allocations: 53.62 kB / 0.5687 GB, free: 33.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.3335, allocations: 180.8 kB / 0.5689 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3337, allocations: 230 kB / 0.5691 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.3341, allocations: 0.5804 MB / 0.5697 GB, free: 33.22 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.335, allocations: 1.449 MB / 0.5711 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.335, allocations: 6.844 kB / 0.5711 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.335, allocations: 0 / 0.5711 GB, free: 32.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.335, allocations: 0 / 0.5711 GB, free: 32.66 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006323/0.3414, allocations: 2.377 MB / 0.5734 GB, free: 31.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3414, allocations: 9.438 kB / 0.5735 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3458, allocations: 0.7768 MB / 0.5742 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.3468, allocations: 0.8211 MB / 0.575 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.347, allocations: 230.9 kB / 0.5752 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3471, allocations: 73.91 kB / 0.5753 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3489, allocations: 1.203 MB / 0.5765 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.349, allocations: 3.938 kB / 0.5765 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.3491, allocations: 34.33 kB / 0.5765 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3491, allocations: 17.53 kB / 0.5765 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.3511, allocations: 1.173 MB / 0.5777 GB, free: 29.88 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.004156/0.3552, allocations: 3.215 MB / 0.5808 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.3578, allocations: 1.742 MB / 0.5825 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3591, allocations: 0.8448 MB / 0.5833 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.3592, allocations: 13.52 kB / 0.5834 GB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3592, allocations: 45.34 kB / 0.5834 GB, free: 26.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 2.304e-06/0.3593, allocations: 0 / 0.5834 GB, free: 26.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02501/0.3843, allocations: 8.777 MB / 0.592 GB, free: 25.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3844, allocations: 87.73 kB / 0.5921 GB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3858, allocations: 0.9509 MB / 0.593 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.386, allocations: 48.83 kB / 0.593 GB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.3863, allocations: 489.9 kB / 0.5935 GB, free: 24.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.3866, allocations: 333.6 kB / 0.5938 GB, free: 24.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.3867, allocations: 102.7 kB / 0.5939 GB, free: 24.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.3868, allocations: 350.4 kB / 0.5943 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.3883, allocations: 0.778 MB / 0.595 GB, free: 23.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3898, allocations: 0.9132 MB / 0.5959 GB, free: 23.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.4066, allocations: 5.22 MB / 0.601 GB, free: 21.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4067, allocations: 1.344 kB / 0.601 GB, free: 21.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01446/0.4211, allocations: 5.361 MB / 0.6062 GB, free: 20.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/0.4213, allocations: 160 kB / 0.6064 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.4213, allocations: 2.75 kB / 0.6064 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006632/0.4279, allocations: 2.23 MB / 0.6086 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.4288, allocations: 176.8 kB / 0.6087 GB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.4479, allocations: 10.29 MB / 0.6188 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.4494, allocations: 211 kB / 0.619 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.4495, allocations: 39.94 kB / 0.619 GB, free: 9.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.4495, allocations: 0 / 0.619 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01219/0.4617, allocations: 5.206 MB / 0.6241 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4618, allocations: 4 kB / 0.6241 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/0.4673, allocations: 2.229 MB / 0.6263 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.4682, allocations: 167.8 kB / 0.6264 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.4893, allocations: 10.26 MB / 0.6365 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4908, allocations: 203 kB / 0.6367 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.491, allocations: 43.92 kB / 0.6367 GB, free: 7.406 MB / 442.7 MB 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.0006581/0.4916, allocations: 312.9 kB / 0.637 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.4919, allocations: 114.6 kB / 0.6371 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.5052, allocations: 5.034 MB / 0.642 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.5053, allocations: 8 kB / 0.642 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5053, allocations: 0 / 0.642 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.851e-05/0.5053, allocations: 7.922 kB / 0.642 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.5208, allocations: 6.692 MB / 0.6486 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5209, allocations: 0 / 0.6486 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.5214, allocations: 99.89 kB / 0.6487 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/0.5274, allocations: 2.152 MB / 0.6508 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.5275, allocations: 24 kB / 0.6508 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.5457, allocations: 8.825 MB / 0.6594 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.5457, allocations: 3.938 kB / 0.6594 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.5611, allocations: 6.044 MB / 0.6653 GB, free: 9.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.5616, allocations: 211.5 kB / 0.6655 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.5618, allocations: 16 kB / 0.6655 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5629, allocations: 143.9 kB / 0.6657 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006022/0.5635, allocations: 200.6 kB / 0.6659 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.5636, allocations: 20 kB / 0.6659 GB, free: 9.172 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009916/0.5646, allocations: 0.6508 MB / 0.6665 GB, free: 8.512 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5646, allocations: 0 / 0.6665 GB, free: 8.512 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001918/0.5665, allocations: 0.714 MB / 0.6672 GB, free: 7.797 MB / 474.7 MB 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.0002376/0.5668, allocations: 123.1 kB / 0.6673 GB, free: 7.668 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/0.5781, allocations: 4.714 MB / 0.6719 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5782, allocations: 8.062 kB / 0.6719 GB, free: 2.934 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004373/0.5826, allocations: 1.759 MB / 0.6737 GB, free: 1.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.5835, allocations: 103.1 kB / 0.6738 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.5876, allocations: 2.578 MB / 0.6763 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.5883, allocations: 1.109 MB / 0.6774 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004803/0.5888, allocations: 127.1 kB / 0.6775 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.589, allocations: 59.42 kB / 0.6775 GB, free: 13.12 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.589, allocations: 0 / 0.6775 GB, free: 13.12 MB / 490.7 MB Notification: Performance of Templates: time 0.04127/0.6303, allocations: 29.62 MB / 0.7065 GB, free: 15.5 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)