Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007485/0.007486, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.000843/0.000843, allocations: 90.84 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0629/0.0629, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3992/0.3992, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 22.48 kB / 0.5285 GB, free: 35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.548, allocations: 103.4 MB / 0.6972 GB, free: 36.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5483, allocations: 91.39 kB / 0.6973 GB, free: 36.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/0.6487, allocations: 30.54 MB / 0.7271 GB, free: 33.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.6488, allocations: 0 / 0.7271 GB, free: 33.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.6489, allocations: 31.38 kB / 0.7271 GB, free: 33.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01046/0.6594, allocations: 2.259 MB / 0.7293 GB, free: 32.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.6595, allocations: 11.77 kB / 0.7294 GB, free: 32.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.6657, allocations: 0.5933 MB / 0.7299 GB, free: 32.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.6694, allocations: 0.9529 MB / 0.7309 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.6698, allocations: 246.8 kB / 0.7311 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.6702, allocations: 94.81 kB / 0.7312 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/0.6752, allocations: 1.505 MB / 0.7327 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.6753, allocations: 3.938 kB / 0.7327 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.6755, allocations: 45.5 kB / 0.7327 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.6755, allocations: 23.5 kB / 0.7327 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005355/0.6809, allocations: 1.426 MB / 0.7341 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.692, allocations: 4.313 MB / 0.7383 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/0.6975, allocations: 2.05 MB / 0.7403 GB, free: 29.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.6977, allocations: 17.7 kB / 0.7403 GB, free: 29.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.6978, allocations: 47.25 kB / 0.7404 GB, free: 29.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=116): time 5.2e-06/0.6978, allocations: 0 / 0.7404 GB, free: 29.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=116): time 0.04313/0.7409, allocations: 8.489 MB / 0.7487 GB, free: 26.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.741, allocations: 119.5 kB / 0.7488 GB, free: 26.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.7435, allocations: 0.9632 MB / 0.7497 GB, free: 26.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.744, allocations: 43.73 kB / 0.7498 GB, free: 26.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.7445, allocations: 0.6163 MB / 0.7504 GB, free: 25.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006009/0.7452, allocations: 411 kB / 0.7508 GB, free: 25.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.7453, allocations: 22.94 kB / 0.7508 GB, free: 25.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.7454, allocations: 346.9 kB / 0.7511 GB, free: 25.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.7479, allocations: 0.7852 MB / 0.7519 GB, free: 25.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/0.7504, allocations: 0.9458 MB / 0.7528 GB, free: 24.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.7529, allocations: 0.8508 MB / 0.7536 GB, free: 24.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7529, allocations: 0 / 0.7536 GB, free: 24.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.02334/0.7763, allocations: 5.409 MB / 0.7589 GB, free: 23.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.7766, allocations: 1.334 MB / 0.7602 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.7767, allocations: 3.875 kB / 0.7602 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008496/0.7852, allocations: 2.232 MB / 0.7624 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.7863, allocations: 188.6 kB / 0.7626 GB, free: 21.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.8073, allocations: 10.77 MB / 0.7731 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.8093, allocations: 242.4 kB / 0.7733 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.8095, allocations: 34.97 kB / 0.7734 GB, free: 17.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8095, allocations: 3.812 kB / 0.7734 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01389/0.8234, allocations: 5.208 MB / 0.7785 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.8234, allocations: 4 kB / 0.7785 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006164/0.8296, allocations: 2.233 MB / 0.7807 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/0.8306, allocations: 171.3 kB / 0.7808 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.8518, allocations: 10.75 MB / 0.7913 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.8537, allocations: 219 kB / 0.7915 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.8538, allocations: 36 kB / 0.7916 GB, free: 4.344 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0008073/0.8547, allocations: 382.4 kB / 0.7919 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.8549, allocations: 142.2 kB / 0.7921 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.8682, allocations: 5.29 MB / 0.7972 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.8683, allocations: 12 kB / 0.7972 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8683, allocations: 3.953 kB / 0.7972 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-05/0.8683, allocations: 3.984 kB / 0.7972 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.8863, allocations: 7.136 MB / 0.8042 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.8863, allocations: 0 / 0.8042 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8874, allocations: 147.8 kB / 0.8044 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006479/0.8938, allocations: 2.164 MB / 0.8065 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.8942, allocations: 31.94 kB / 0.8065 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/0.9142, allocations: 9.296 MB / 0.8156 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9143, allocations: 8 kB / 0.8156 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.9316, allocations: 6.401 MB / 0.8218 GB, free: 5.012 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/0.9325, allocations: 242.9 kB / 0.8221 GB, free: 4.754 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.9328, allocations: 27.94 kB / 0.8221 GB, free: 4.727 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9341, allocations: 163.9 kB / 0.8223 GB, free: 4.566 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007067/0.9348, allocations: 220.6 kB / 0.8225 GB, free: 4.348 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.9349, allocations: 28 kB / 0.8225 GB, free: 4.32 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001366/0.9363, allocations: 0.7548 MB / 0.8232 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9363, allocations: 3.938 kB / 0.8232 GB, free: 3.559 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00262/0.9389, allocations: 0.7838 MB / 0.824 GB, free: 2.773 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.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 (79): * Single equations (assignments): 78 * 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.0003381/0.9393, allocations: 155.1 kB / 0.8241 GB, free: 2.613 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0128/0.9521, allocations: 4.744 MB / 0.8288 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.9522, allocations: 0.5 kB / 0.8288 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005414/0.9576, allocations: 1.896 MB / 0.8306 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.9589, allocations: 144.1 kB / 0.8308 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.964, allocations: 3.048 MB / 0.8337 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.9649, allocations: 1.258 MB / 0.835 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000721/0.9656, allocations: 151.7 kB / 0.8351 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.9659, allocations: 63.44 kB / 0.8352 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/0.9659, allocations: 0 / 0.8352 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of Templates: time 0.04777/1.014, allocations: 30.81 MB / 0.8653 GB, free: 8.414 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)