Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.287/1.287, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009179, allocations: 85.78 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4769/0.4769, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.735e-05, allocations: 0 / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3728, allocations: 69.52 MB / 0.5491 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4969, allocations: 99.84 MB / 0.6466 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4972, allocations: 87.94 kB / 0.6467 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0772/0.5744, allocations: 29.02 MB / 0.6751 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5744, allocations: 0 / 0.6751 GB, free: 2.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001238/0.5746, allocations: 28 kB / 0.6751 GB, free: 2.445 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005694/0.5803, allocations: 1.86 MB / 0.6769 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5803, allocations: 11.97 kB / 0.6769 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3208/0.9011, allocations: 0.5751 MB / 0.6775 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.9038, allocations: 0.833 MB / 0.6783 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.9041, allocations: 245.3 kB / 0.6785 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.9043, allocations: 94.72 kB / 0.6786 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.9065, allocations: 1.151 MB / 0.6797 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.9066, allocations: 1.031 kB / 0.6797 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.9067, allocations: 37.5 kB / 0.6798 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.9067, allocations: 25.75 kB / 0.6798 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.9086, allocations: 0.9762 MB / 0.6807 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00751/0.9161, allocations: 4.253 MB / 0.6849 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.9187, allocations: 1.543 MB / 0.6864 GB, free: 99.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.9198, allocations: 0.6493 MB / 0.687 GB, free: 99.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.9199, allocations: 17.62 kB / 0.6871 GB, free: 99.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.92, allocations: 47.05 kB / 0.6871 GB, free: 99.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.256e-06/0.92, allocations: 0 / 0.6871 GB, free: 99.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01262/0.9326, allocations: 4.311 MB / 0.6913 GB, free: 99.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.9327, allocations: 120.2 kB / 0.6914 GB, free: 99.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.934, allocations: 0.8453 MB / 0.6922 GB, free: 99.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.9343, allocations: 43.92 kB / 0.6923 GB, free: 99.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.9346, allocations: 0.5791 MB / 0.6929 GB, free: 98.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.9349, allocations: 378.5 kB / 0.6932 GB, free: 98.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.935, allocations: 19.56 kB / 0.6932 GB, free: 98.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.9351, allocations: 344.6 kB / 0.6936 GB, free: 98.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.9358, allocations: 485 kB / 0.694 GB, free: 97.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.9366, allocations: 0.6484 MB / 0.6947 GB, free: 97.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.9374, allocations: 0.5333 MB / 0.6952 GB, free: 97.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9374, allocations: 3.969 kB / 0.6952 GB, free: 97.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01217/0.9496, allocations: 4.517 MB / 0.6996 GB, free: 96.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.95, allocations: 1.502 MB / 0.7011 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.95, allocations: 3.938 kB / 0.7011 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005509/0.9555, allocations: 1.814 MB / 0.7028 GB, free: 94.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.9564, allocations: 158.7 kB / 0.703 GB, free: 94.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.9713, allocations: 7.718 MB / 0.7105 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.9732, allocations: 208.4 kB / 0.7107 GB, free: 90.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.9733, allocations: 43.84 kB / 0.7108 GB, free: 90.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9734, allocations: 4 kB / 0.7108 GB, free: 90.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01197/0.9853, allocations: 4.366 MB / 0.715 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.9854, allocations: 7.891 kB / 0.715 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005314/0.9907, allocations: 1.813 MB / 0.7168 GB, free: 85.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.9915, allocations: 141.8 kB / 0.7169 GB, free: 85.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.005, allocations: 7.69 MB / 0.7245 GB, free: 78.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.007, allocations: 186.5 kB / 0.7246 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.007, allocations: 36 kB / 0.7247 GB, free: 77.85 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.0003613/1.007, allocations: 172.3 kB / 0.7248 GB, free: 77.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/1.008, allocations: 141.9 kB / 0.725 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/1.02, allocations: 4.439 MB / 0.7293 GB, free: 74.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.02, allocations: 16 kB / 0.7293 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.02, allocations: 0 / 0.7293 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/1.02, allocations: 6.656 kB / 0.7293 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.035, allocations: 6.196 MB / 0.7354 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.035, allocations: 3.938 kB / 0.7354 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/1.036, allocations: 115.9 kB / 0.7355 GB, free: 68.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005096/1.041, allocations: 1.738 MB / 0.7372 GB, free: 67.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/1.041, allocations: 24 kB / 0.7372 GB, free: 67.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.053, allocations: 6.697 MB / 0.7438 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.053, allocations: 0 / 0.7438 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.067, allocations: 5.234 MB / 0.7489 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/1.068, allocations: 231.1 kB / 0.7491 GB, free: 54.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/1.068, allocations: 20 kB / 0.7491 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.07, allocations: 143.9 kB / 0.7492 GB, free: 54.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006771/1.07, allocations: 208.6 kB / 0.7494 GB, free: 54.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.07, allocations: 20 kB / 0.7495 GB, free: 54.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001063/1.071, allocations: 0.6557 MB / 0.7501 GB, free: 53.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 0 / 0.7501 GB, free: 53.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002359/1.074, allocations: 0.7473 MB / 0.7508 GB, free: 52.96 MB / 490.7 MB 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.0003201/1.074, allocations: 156.5 kB / 0.751 GB, free: 52.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008975/1.083, allocations: 3.823 MB / 0.7547 GB, free: 48.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.083, allocations: 0 / 0.7547 GB, free: 48.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.087, allocations: 1.556 MB / 0.7562 GB, free: 47.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.088, allocations: 111.8 kB / 0.7563 GB, free: 47.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.092, allocations: 1.721 MB / 0.758 GB, free: 45.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/1.092, allocations: 1.197 MB / 0.7592 GB, free: 44.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008906/1.093, allocations: 166.3 kB / 0.7593 GB, free: 44.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.093, allocations: 47.44 kB / 0.7594 GB, free: 44.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/1.093, allocations: 0 / 0.7594 GB, free: 44.12 MB / 490.7 MB Notification: Performance of Templates: time 0.04411/1.138, allocations: 31.52 MB / 0.7902 GB, free: 12.92 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)