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.001422/0.001422, allocations: 169.9 kB / 15.77 MB, free: 6.324 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.529/1.529, allocations: 223.3 MB / 239.8 MB, free: 1.73 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.0008594/0.0008593, allocations: 104 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4882/0.4882, allocations: 78.62 MB / 420.7 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 15.98 kB / 0.4888 GB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4153, allocations: 69.34 MB / 0.5565 GB, free: 38.87 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005826/0.4211, allocations: 5.815 MB / 0.5622 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.4254, allocations: 1.89 MB / 0.564 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.4262, allocations: 12.31 kB / 0.564 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.4269, allocations: 171.2 kB / 0.5642 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.4286, allocations: 0.601 MB / 0.5648 GB, free: 35.92 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.43, allocations: 0.5417 MB / 0.5653 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.4317, allocations: 1.315 MB / 0.5666 GB, free: 34.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.4322, allocations: 270.5 kB / 0.5669 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.433, allocations: 0.5149 MB / 0.5674 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.4337, allocations: 0.6425 MB / 0.568 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.4338, allocations: 57.5 kB / 0.5681 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.4343, allocations: 178.5 kB / 0.5682 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.4345, allocations: 219.4 kB / 0.5684 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4347, allocations: 216.2 kB / 0.5686 GB, free: 34.03 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009103/0.4357, allocations: 1.134 MB / 0.5697 GB, free: 33.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4357, allocations: 0 / 0.5697 GB, free: 33.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4357, allocations: 3.938 kB / 0.5698 GB, free: 33.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.4357, allocations: 4 kB / 0.5698 GB, free: 33.68 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.007241/0.443, allocations: 2.395 MB / 0.5721 GB, free: 32.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.443, allocations: 8.594 kB / 0.5721 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.4478, allocations: 0.7788 MB / 0.5729 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.4492, allocations: 0.7769 MB / 0.5736 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.4494, allocations: 232.9 kB / 0.5738 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4496, allocations: 84.16 kB / 0.5739 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.4517, allocations: 1.191 MB / 0.5751 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.4518, allocations: 4 kB / 0.5751 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.4519, allocations: 29.67 kB / 0.5751 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4519, allocations: 20.59 kB / 0.5751 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.4541, allocations: 1.162 MB / 0.5763 GB, free: 30.93 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.005384/0.4595, allocations: 3.211 MB / 0.5794 GB, free: 29.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.4625, allocations: 1.744 MB / 0.5811 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.464, allocations: 0.8331 MB / 0.5819 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/0.4641, allocations: 19.95 kB / 0.5819 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4641, allocations: 46.34 kB / 0.582 GB, free: 27.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.707e-06/0.4641, allocations: 0 / 0.582 GB, free: 27.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02861/0.4928, allocations: 8.73 MB / 0.5905 GB, free: 26.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4928, allocations: 94.94 kB / 0.5906 GB, free: 26.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.4944, allocations: 0.9397 MB / 0.5915 GB, free: 25.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.4946, allocations: 40.39 kB / 0.5916 GB, free: 25.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.4949, allocations: 491 kB / 0.592 GB, free: 25.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.4952, allocations: 332.4 kB / 0.5923 GB, free: 25.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.4953, allocations: 25.12 kB / 0.5924 GB, free: 25.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.4954, allocations: 351.3 kB / 0.5927 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4969, allocations: 0.7741 MB / 0.5935 GB, free: 24.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.4986, allocations: 0.9066 MB / 0.5943 GB, free: 24.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5002, allocations: 0.8255 MB / 0.5952 GB, free: 23.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5003, allocations: 1.219 kB / 0.5952 GB, free: 23.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01641/0.5167, allocations: 5.335 MB / 0.6004 GB, free: 22.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.5168, allocations: 153.9 kB / 0.6005 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5168, allocations: 2.312 kB / 0.6005 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007592/0.5244, allocations: 2.22 MB / 0.6027 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5255, allocations: 176.7 kB / 0.6028 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.5494, allocations: 10.26 MB / 0.6129 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.5513, allocations: 220.4 kB / 0.6131 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/0.5514, allocations: 35.38 kB / 0.6131 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5515, allocations: 4 kB / 0.6131 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01407/0.5655, allocations: 5.185 MB / 0.6182 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5656, allocations: 3.938 kB / 0.6182 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006474/0.5721, allocations: 2.222 MB / 0.6204 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.573, allocations: 163.8 kB / 0.6205 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.5941, allocations: 10.23 MB / 0.6305 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.5958, allocations: 199 kB / 0.6307 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5959, allocations: 39.98 kB / 0.6307 GB, free: 13.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006166/0.5965, allocations: 324.9 kB / 0.631 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.5968, allocations: 114.6 kB / 0.6311 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.6118, allocations: 5.015 MB / 0.636 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.6119, allocations: 11.95 kB / 0.6361 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6119, allocations: 0 / 0.6361 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/0.6119, allocations: 7.984 kB / 0.6361 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.629, allocations: 6.677 MB / 0.6426 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.629, allocations: 0 / 0.6426 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.6297, allocations: 91.89 kB / 0.6427 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006663/0.6363, allocations: 2.159 MB / 0.6448 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.6365, allocations: 19.98 kB / 0.6448 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/0.6583, allocations: 8.836 MB / 0.6534 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6583, allocations: 0 / 0.6534 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/0.6763, allocations: 6.021 MB / 0.6593 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007845/0.6771, allocations: 207.4 kB / 0.6595 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.6773, allocations: 20 kB / 0.6595 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6786, allocations: 147.8 kB / 0.6597 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/0.6793, allocations: 208.5 kB / 0.6599 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.6794, allocations: 23.98 kB / 0.6599 GB, free: 15.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.6804, allocations: 0.6391 MB / 0.6605 GB, free: 14.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6804, allocations: 0 / 0.6605 GB, free: 14.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00249/0.6829, allocations: 0.7101 MB / 0.6612 GB, free: 14.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.6832, allocations: 127.2 kB / 0.6613 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/0.6961, allocations: 4.694 MB / 0.6659 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.6961, allocations: 0 / 0.6659 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005059/0.7012, allocations: 1.767 MB / 0.6676 GB, free: 7.535 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.7022, allocations: 97.28 kB / 0.6677 GB, free: 7.438 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.7063, allocations: 2.506 MB / 0.6702 GB, free: 4.898 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.7071, allocations: 1.113 MB / 0.6713 GB, free: 3.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.7074, allocations: 67.42 kB / 0.6713 GB, free: 3.691 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/0.7074, allocations: 0 / 0.6713 GB, free: 3.691 MB / 474.7 MB Notification: Performance of Templates: time 0.02863/0.736, allocations: 21.13 MB / 0.692 GB, free: 14.55 MB / 0.4948 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)