Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005333/0.005333, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.29/1.29, allocations: 223.2 MB / 239 MB, free: 1.781 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.0007927/0.0007926, allocations: 97.27 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4446/0.4446, allocations: 79.43 MB / 420.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 12 kB / 0.489 GB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3661, allocations: 69.5 MB / 0.5569 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4934, allocations: 100 MB / 0.6546 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4937, allocations: 90.02 kB / 0.6547 GB, free: 5.496 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07633/0.5701, allocations: 29.8 MB / 0.6838 GB, free: 7.555 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5701, allocations: 0 / 0.6838 GB, free: 7.555 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001264/0.5703, allocations: 28 kB / 0.6838 GB, free: 7.527 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005918/0.5762, allocations: 2.135 MB / 0.6859 GB, free: 5.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5762, allocations: 8.031 kB / 0.6859 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.5797, allocations: 0.5873 MB / 0.6865 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.5818, allocations: 0.8817 MB / 0.6873 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.582, allocations: 250.4 kB / 0.6876 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.5823, allocations: 96 kB / 0.6877 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.5853, allocations: 1.432 MB / 0.6891 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5853, allocations: 4 kB / 0.6891 GB, free: 1.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.5855, allocations: 40 kB / 0.6891 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.5855, allocations: 24 kB / 0.6891 GB, free: 1.887 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.5884, allocations: 1.3 MB / 0.6904 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007364/0.5957, allocations: 4.484 MB / 0.6948 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.599, allocations: 1.861 MB / 0.6966 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5991, allocations: 16.98 kB / 0.6966 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5992, allocations: 43.56 kB / 0.6966 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 8.897e-06/0.5992, allocations: 3.984 kB / 0.6966 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.02908/0.6283, allocations: 8.938 MB / 0.7054 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.6284, allocations: 119.8 kB / 0.7055 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.6298, allocations: 0.8897 MB / 0.7064 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.63, allocations: 45.7 kB / 0.7064 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.6304, allocations: 0.5832 MB / 0.707 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.6309, allocations: 394.3 kB / 0.7073 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.6309, allocations: 24 kB / 0.7074 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6311, allocations: 353.9 kB / 0.7077 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.6325, allocations: 0.7287 MB / 0.7084 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.6341, allocations: 0.9216 MB / 0.7093 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.6356, allocations: 0.7888 MB / 0.7101 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6356, allocations: 4 kB / 0.7101 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01435/0.65, allocations: 5.261 MB / 0.7152 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00067/0.6507, allocations: 1.692 MB / 0.7169 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6507, allocations: 4 kB / 0.7169 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007041/0.6578, allocations: 2.237 MB / 0.7191 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.6587, allocations: 175.7 kB / 0.7192 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.6822, allocations: 10.77 MB / 0.7298 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.684, allocations: 214.9 kB / 0.73 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.6843, allocations: 36 kB / 0.73 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6843, allocations: 4 kB / 0.73 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0147/0.699, allocations: 5.062 MB / 0.7349 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.6991, allocations: 4 kB / 0.7349 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006661/0.7058, allocations: 2.241 MB / 0.7371 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.7066, allocations: 159.7 kB / 0.7373 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/0.7302, allocations: 10.74 MB / 0.7478 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7318, allocations: 203 kB / 0.748 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.732, allocations: 36 kB / 0.748 GB, free: 4.699 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.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: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0008328/0.7329, allocations: 359.3 kB / 0.7483 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.7332, allocations: 138.2 kB / 0.7485 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.7478, allocations: 5.166 MB / 0.7535 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.7479, allocations: 8 kB / 0.7535 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7479, allocations: 7.953 kB / 0.7535 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-05/0.7479, allocations: 7.969 kB / 0.7535 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.7661, allocations: 6.94 MB / 0.7603 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.7662, allocations: 11.98 kB / 0.7603 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.767, allocations: 123.8 kB / 0.7605 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/0.7732, allocations: 2.16 MB / 0.7626 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.7734, allocations: 24 kB / 0.7626 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2562/1.03, allocations: 9.292 MB / 0.7717 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.03, allocations: 6.625 kB / 0.7717 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.046, allocations: 6.224 MB / 0.7777 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/1.046, allocations: 228.9 kB / 0.778 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.046, allocations: 20.94 kB / 0.778 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.048, allocations: 143.3 kB / 0.7781 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/1.048, allocations: 203.1 kB / 0.7783 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.048, allocations: 32.12 kB / 0.7783 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007883/1.049, allocations: 0.6933 MB / 0.779 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.51e-07/1.049, allocations: 0 / 0.779 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001846/1.051, allocations: 0.7625 MB / 0.7798 GB, free: 142.4 MB / 0.5573 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,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (73): * Single equations (assignments): 72 * 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.0002651/1.051, allocations: 151 kB / 0.7799 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.062, allocations: 4.582 MB / 0.7844 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.062, allocations: 0 / 0.7844 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/1.067, allocations: 1.828 MB / 0.7862 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/1.068, allocations: 119.8 kB / 0.7863 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/1.071, allocations: 2.841 MB / 0.7891 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.072, allocations: 1.211 MB / 0.7902 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004474/1.072, allocations: 101.4 kB / 0.7903 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/1.072, allocations: 71.41 kB / 0.7904 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/1.072, allocations: 0 / 0.7904 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.04502/1.117, allocations: 29.83 MB / 0.8195 GB, free: 138.1 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)