Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.327/1.327, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008521/0.0008521, allocations: 89.84 kB / 266.6 MB, free: 9.281 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.0663/0.0663, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2786/0.2786, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.897e-05, allocations: 8 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 69.33 MB / 0.5895 GB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4633, allocations: 100.1 MB / 0.6873 GB, free: 15.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4636, allocations: 94.08 kB / 0.6873 GB, free: 15.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0673/0.5309, allocations: 25.13 MB / 0.7119 GB, free: 10.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5309, allocations: 0 / 0.7119 GB, free: 10.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.751e-05/0.531, allocations: 20 kB / 0.7119 GB, free: 10.01 MB / 458.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.004529/0.5355, allocations: 1.715 MB / 0.7136 GB, free: 8.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5356, allocations: 15.98 kB / 0.7136 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.5388, allocations: 0.5557 MB / 0.7141 GB, free: 7.832 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.5402, allocations: 0.7611 MB / 0.7149 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.5404, allocations: 230 kB / 0.7151 GB, free: 6.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.5406, allocations: 77.25 kB / 0.7152 GB, free: 6.891 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5421, allocations: 0.9574 MB / 0.7161 GB, free: 6.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5422, allocations: 0 / 0.7161 GB, free: 6.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.5423, allocations: 35.36 kB / 0.7161 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5423, allocations: 16 kB / 0.7162 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.5437, allocations: 0.8841 MB / 0.717 GB, free: 5.688 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.5489, allocations: 3.155 MB / 0.7201 GB, free: 3.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.5512, allocations: 1.465 MB / 0.7215 GB, free: 2.023 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008126/0.5521, allocations: 0.5986 MB / 0.7221 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5522, allocations: 12.77 kB / 0.7221 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5522, allocations: 50.09 kB / 0.7222 GB, free: 1.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 2.675e-06/0.5522, allocations: 0 / 0.7222 GB, free: 1.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.013/0.5652, allocations: 4.235 MB / 0.7263 GB, free: 13.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.5653, allocations: 93.89 kB / 0.7264 GB, free: 13.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.5663, allocations: 0.7707 MB / 0.7272 GB, free: 13.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5664, allocations: 43.58 kB / 0.7272 GB, free: 13.22 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.5668, allocations: 0.4983 MB / 0.7277 GB, free: 12.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.567, allocations: 321.3 kB / 0.728 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.5671, allocations: 17.06 kB / 0.728 GB, free: 12.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5672, allocations: 342.9 kB / 0.7283 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.5679, allocations: 450.8 kB / 0.7288 GB, free: 12.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.5687, allocations: 0.5535 MB / 0.7293 GB, free: 11.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.5695, allocations: 496.8 kB / 0.7298 GB, free: 11.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5695, allocations: 4 kB / 0.7298 GB, free: 11.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01331/0.5828, allocations: 4.384 MB / 0.7341 GB, free: 7.664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.5832, allocations: 0.7986 MB / 0.7348 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.5833, allocations: 4 kB / 0.7348 GB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.5893, allocations: 1.804 MB / 0.7366 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.59, allocations: 119.5 kB / 0.7367 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.6051, allocations: 7.722 MB / 0.7443 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6066, allocations: 191.2 kB / 0.7444 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.6067, allocations: 31.98 kB / 0.7445 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.6067, allocations: 4 kB / 0.7445 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01283/0.6195, allocations: 4.246 MB / 0.7486 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6195, allocations: 4 kB / 0.7486 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005763/0.6253, allocations: 1.804 MB / 0.7504 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.6258, allocations: 111.8 kB / 0.7505 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.6412, allocations: 7.697 MB / 0.758 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.6427, allocations: 179.2 kB / 0.7582 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.6428, allocations: 35.98 kB / 0.7582 GB, free: 0.6562 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.6431, allocations: 152.8 kB / 0.7584 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6433, allocations: 114.6 kB / 0.7585 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.6562, allocations: 4.354 MB / 0.7627 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.6563, allocations: 12 kB / 0.7627 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.6563, allocations: 0 / 0.7627 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.6563, allocations: 3.984 kB / 0.7627 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.671, allocations: 5.974 MB / 0.7686 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.671, allocations: 8 kB / 0.7686 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.6716, allocations: 91.89 kB / 0.7687 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/0.6771, allocations: 1.746 MB / 0.7704 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.6772, allocations: 16 kB / 0.7704 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.6907, allocations: 6.693 MB / 0.7769 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6907, allocations: 4 kB / 0.7769 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.7049, allocations: 5.097 MB / 0.7819 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.7053, allocations: 215.4 kB / 0.7821 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.7055, allocations: 16 kB / 0.7821 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.7067, allocations: 143.9 kB / 0.7823 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005634/0.7072, allocations: 192.4 kB / 0.7825 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.7073, allocations: 20 kB / 0.7825 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007972/0.7081, allocations: 0.6127 MB / 0.7831 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7081, allocations: 0 / 0.7831 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001717/0.7099, allocations: 0.6827 MB / 0.7837 GB, free: 6.16 MB / 0.5105 GB 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 () * 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.0002663/0.7101, allocations: 151 kB / 0.7839 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009876/0.72, allocations: 3.654 MB / 0.7874 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.7201, allocations: 0.5 kB / 0.7874 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/0.7244, allocations: 1.503 MB / 0.7889 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.7251, allocations: 90.95 kB / 0.789 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.7284, allocations: 1.598 MB / 0.7906 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.729, allocations: 1.138 MB / 0.7917 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006622/0.7297, allocations: 157.1 kB / 0.7918 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.7299, allocations: 43.44 kB / 0.7919 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.7299, allocations: 4 kB / 0.7919 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.04287/0.7728, allocations: 30.04 MB / 0.8212 GB, free: 15.66 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)