Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0007709/0.0007708, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.326/1.326, allocations: 223.3 MB / 239 MB, free: 5.453 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.001243/0.001243, allocations: 179.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4514/0.4514, allocations: 78.55 MB / 419.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005599, allocations: 12 kB / 499.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1494, allocations: 69.37 MB / 0.5558 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2877/0.4372, allocations: 5.804 MB / 0.5615 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.4412, allocations: 1.882 MB / 0.5633 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.4418, allocations: 12.34 kB / 0.5633 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.4425, allocations: 167.8 kB / 0.5635 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.4439, allocations: 0.6006 MB / 0.5641 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4451, allocations: 0.5494 MB / 0.5646 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.4463, allocations: 1.309 MB / 0.5659 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.4466, allocations: 268.5 kB / 0.5661 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.4472, allocations: 0.5108 MB / 0.5666 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.4478, allocations: 0.6393 MB / 0.5673 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.4479, allocations: 56.88 kB / 0.5673 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.4483, allocations: 181.1 kB / 0.5675 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.4484, allocations: 223.3 kB / 0.5677 GB, free: 36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.4486, allocations: 217.1 kB / 0.5679 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00086/0.4495, allocations: 1.134 MB / 0.569 GB, free: 35.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4495, allocations: 0.5 kB / 0.569 GB, free: 35.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4495, allocations: 1.594 kB / 0.569 GB, free: 35.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4495, allocations: 0.75 kB / 0.569 GB, free: 35.72 MB / 430.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.006518/0.456, allocations: 2.4 MB / 0.5714 GB, free: 34.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4561, allocations: 10.94 kB / 0.5714 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.4606, allocations: 0.7823 MB / 0.5721 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4617, allocations: 0.7696 MB / 0.5729 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.4619, allocations: 231.5 kB / 0.5731 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.462, allocations: 84.02 kB / 0.5732 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.464, allocations: 1.198 MB / 0.5744 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.464, allocations: 0 / 0.5744 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.4641, allocations: 35.11 kB / 0.5744 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4641, allocations: 19.28 kB / 0.5744 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4662, allocations: 1.162 MB / 0.5756 GB, free: 34 MB / 430.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.004492/0.4707, allocations: 3.204 MB / 0.5787 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.4732, allocations: 1.741 MB / 0.5804 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.4744, allocations: 0.8353 MB / 0.5812 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.4746, allocations: 14.95 kB / 0.5812 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4746, allocations: 45.5 kB / 0.5813 GB, free: 30.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.555e-06/0.4746, allocations: 2.312 kB / 0.5813 GB, free: 30.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02612/0.5007, allocations: 8.729 MB / 0.5898 GB, free: 29.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5009, allocations: 95.06 kB / 0.5899 GB, free: 29.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.5028, allocations: 0.9402 MB / 0.5908 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.5031, allocations: 45.92 kB / 0.5908 GB, free: 28.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.5035, allocations: 487.8 kB / 0.5913 GB, free: 28.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.504, allocations: 337.3 kB / 0.5916 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5042, allocations: 24.97 kB / 0.5917 GB, free: 28.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5044, allocations: 352.6 kB / 0.592 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.5062, allocations: 0.7702 MB / 0.5927 GB, free: 27.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5082, allocations: 0.9022 MB / 0.5936 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.5101, allocations: 0.8301 MB / 0.5944 GB, free: 26.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.5101, allocations: 1.125 kB / 0.5944 GB, free: 26.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01626/0.5264, allocations: 5.333 MB / 0.5996 GB, free: 25.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.5266, allocations: 150.1 kB / 0.5998 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5266, allocations: 7.219 kB / 0.5998 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007317/0.5339, allocations: 2.217 MB / 0.602 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5351, allocations: 185.2 kB / 0.6021 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.5598, allocations: 10.25 MB / 0.6121 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.5616, allocations: 215.9 kB / 0.6124 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.5618, allocations: 36.64 kB / 0.6124 GB, free: 19.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5619, allocations: 8 kB / 0.6124 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/0.5746, allocations: 5.176 MB / 0.6174 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5746, allocations: 4 kB / 0.6175 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005638/0.5803, allocations: 2.22 MB / 0.6196 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.5812, allocations: 171.7 kB / 0.6198 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.6012, allocations: 10.23 MB / 0.6298 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.6029, allocations: 199 kB / 0.63 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/0.6032, allocations: 40 kB / 0.63 GB, free: 1.781 MB / 430.1 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.0008812/0.6041, allocations: 318.9 kB / 0.6303 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.6045, allocations: 118.5 kB / 0.6304 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.6173, allocations: 5.019 MB / 0.6353 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6174, allocations: 12.89 kB / 0.6353 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6174, allocations: 4 kB / 0.6353 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.6174, allocations: 7.984 kB / 0.6353 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.6335, allocations: 6.673 MB / 0.6419 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.6336, allocations: 0 / 0.6419 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.6342, allocations: 95.84 kB / 0.642 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006087/0.6403, allocations: 2.154 MB / 0.6441 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/0.6405, allocations: 17.03 kB / 0.6441 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.6597, allocations: 8.826 MB / 0.6527 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6598, allocations: 7.938 kB / 0.6527 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.6753, allocations: 6.022 MB / 0.6586 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.6758, allocations: 211.5 kB / 0.6588 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/0.6762, allocations: 17.06 kB / 0.6588 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6774, allocations: 147.8 kB / 0.6589 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/0.678, allocations: 200.6 kB / 0.6591 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6782, allocations: 24 kB / 0.6592 GB, free: 3.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.6793, allocations: 0.643 MB / 0.6598 GB, free: 2.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6793, allocations: 0 / 0.6598 GB, free: 2.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002593/0.6819, allocations: 0.7179 MB / 0.6605 GB, free: 2.215 MB / 462.1 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.0002941/0.6822, allocations: 123.2 kB / 0.6606 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01163/0.6938, allocations: 4.696 MB / 0.6652 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6939, allocations: 0 / 0.6652 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004565/0.6984, allocations: 1.766 MB / 0.6669 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.6996, allocations: 100.2 kB / 0.667 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.7041, allocations: 2.462 MB / 0.6694 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.7049, allocations: 1.109 MB / 0.6705 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006114/0.7056, allocations: 120.7 kB / 0.6706 GB, free: 7.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.7058, allocations: 64.17 kB / 0.6707 GB, free: 7.723 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7059, allocations: 0 / 0.6707 GB, free: 7.723 MB / 478.1 MB Notification: Performance of Templates: time 0.04751/0.7534, allocations: 28.8 MB / 0.6988 GB, free: 11.07 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: