Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009206, allocations: 90.25 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06998/0.06998, allocations: 12.59 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2906/0.2906, allocations: 78.06 MB / 450.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.404e-05, allocations: 4 kB / 0.5147 GB, free: 29.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 69.33 MB / 0.5824 GB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4973, allocations: 100.2 MB / 0.6803 GB, free: 7.742 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4975, allocations: 83.95 kB / 0.6804 GB, free: 7.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06949/0.5671, allocations: 27.64 MB / 0.7074 GB, free: 1.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5671, allocations: 0 / 0.7074 GB, free: 1.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.5672, allocations: 31.94 kB / 0.7074 GB, free: 1.008 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005275/0.5725, allocations: 1.86 MB / 0.7092 GB, free: 15.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5725, allocations: 12.03 kB / 0.7092 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.576, allocations: 0.5688 MB / 0.7098 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.5778, allocations: 0.8547 MB / 0.7106 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.5781, allocations: 205.9 kB / 0.7108 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.5783, allocations: 56 kB / 0.7109 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001739/0.5801, allocations: 0.9162 MB / 0.7118 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.5819, allocations: 1.018 MB / 0.7128 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.5819, allocations: 3.938 kB / 0.7128 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/0.582, allocations: 0.9375 kB / 0.7128 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.582, allocations: 24 kB / 0.7128 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.5884, allocations: 4.096 MB / 0.7168 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.5908, allocations: 1.509 MB / 0.7183 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.5916, allocations: 0.6149 MB / 0.7189 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.5918, allocations: 22.73 kB / 0.7189 GB, free: 7.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5918, allocations: 43.25 kB / 0.7189 GB, free: 7.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 5.31e-06/0.5918, allocations: 0 / 0.7189 GB, free: 7.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.01288/0.6047, allocations: 4.248 MB / 0.7231 GB, free: 3.695 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.6048, allocations: 116.1 kB / 0.7232 GB, free: 3.555 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.6061, allocations: 0.7745 MB / 0.7239 GB, free: 2.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.6063, allocations: 29.7 kB / 0.724 GB, free: 2.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.6067, allocations: 0.5722 MB / 0.7245 GB, free: 2.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.6071, allocations: 363.5 kB / 0.7249 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.6072, allocations: 0 / 0.7249 GB, free: 2.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6074, allocations: 355.5 kB / 0.7252 GB, free: 1.961 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/0.6082, allocations: 463.7 kB / 0.7256 GB, free: 1.727 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/0.609, allocations: 0.6234 MB / 0.7263 GB, free: 1.281 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.6098, allocations: 0.513 MB / 0.7268 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6098, allocations: 4 kB / 0.7268 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01319/0.623, allocations: 4.422 MB / 0.7311 GB, free: 13.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005527/0.6236, allocations: 1.501 MB / 0.7325 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.6236, allocations: 7.953 kB / 0.7326 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005746/0.6294, allocations: 1.745 MB / 0.7343 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.6302, allocations: 170.7 kB / 0.7344 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.6457, allocations: 7.497 MB / 0.7417 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.6475, allocations: 183 kB / 0.7419 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.6478, allocations: 36 kB / 0.742 GB, free: 2.891 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6478, allocations: 7.984 kB / 0.742 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01311/0.661, allocations: 4.254 MB / 0.7461 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.661, allocations: 4.25 kB / 0.7461 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005792/0.6668, allocations: 1.753 MB / 0.7478 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.6676, allocations: 151.8 kB / 0.748 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.683, allocations: 7.484 MB / 0.7553 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.6845, allocations: 171.1 kB / 0.7554 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.6847, allocations: 32 kB / 0.7555 GB, free: 4.902 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0003974/0.6851, allocations: 138.1 kB / 0.7556 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.6855, allocations: 130.4 kB / 0.7557 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.6988, allocations: 4.344 MB / 0.76 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6989, allocations: 8 kB / 0.76 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6989, allocations: 4 kB / 0.76 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.6989, allocations: 7.969 kB / 0.76 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.7151, allocations: 6 MB / 0.7659 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.7151, allocations: 3.938 kB / 0.7659 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.7159, allocations: 127.8 kB / 0.766 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/0.7214, allocations: 1.719 MB / 0.7677 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.7216, allocations: 4 kB / 0.7677 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.7353, allocations: 6.555 MB / 0.7741 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7353, allocations: 3.953 kB / 0.7741 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.7494, allocations: 5.158 MB / 0.7791 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.7499, allocations: 211.2 kB / 0.7793 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.7501, allocations: 7.953 kB / 0.7793 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.7514, allocations: 127.9 kB / 0.7794 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/0.752, allocations: 201 kB / 0.7796 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.7521, allocations: 31.98 kB / 0.7797 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000889/0.753, allocations: 0.5875 MB / 0.7802 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.753, allocations: 4 kB / 0.7802 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002603/0.7556, allocations: 0.6744 MB / 0.7809 GB, free: 10.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.0003808/0.756, allocations: 135.2 kB / 0.781 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009825/0.7658, allocations: 3.694 MB / 0.7846 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7659, allocations: 0 / 0.7846 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/0.7701, allocations: 1.503 MB / 0.7861 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.7709, allocations: 93.55 kB / 0.7862 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.774, allocations: 1.669 MB / 0.7878 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.7748, allocations: 1.197 MB / 0.789 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007259/0.7755, allocations: 170.5 kB / 0.7891 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.7757, allocations: 51.38 kB / 0.7892 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.7757, allocations: 4 kB / 0.7892 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of Templates: time 0.04498/0.8207, allocations: 29.26 MB / 0.8178 GB, free: 4.664 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)