Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001191/0.001191, allocations: 174.8 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.251/1.251, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.001064/0.001064, allocations: 88.88 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4287/0.4287, allocations: 78.03 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.925e-05, allocations: 4 kB / 491.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 69.35 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.401, allocations: 99.36 MB / 0.645 GB, free: 1.043 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4013, allocations: 91.92 kB / 0.6451 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07689/0.4782, allocations: 29.4 MB / 0.6738 GB, free: 3.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4782, allocations: 0 / 0.6738 GB, free: 3.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.267e-05/0.4783, allocations: 32 kB / 0.6738 GB, free: 3.316 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.005895/0.4842, allocations: 1.894 MB / 0.6757 GB, free: 1.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.4843, allocations: 11.97 kB / 0.6757 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.4882, allocations: 0.5795 MB / 0.6763 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2824/0.7706, allocations: 0.8627 MB / 0.6771 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.771, allocations: 245.9 kB / 0.6773 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.7713, allocations: 94.06 kB / 0.6774 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.7734, allocations: 1.179 MB / 0.6786 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.7735, allocations: 4.422 kB / 0.6786 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7736, allocations: 41.25 kB / 0.6786 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.7736, allocations: 23.72 kB / 0.6786 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.7754, allocations: 0.9964 MB / 0.6796 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006921/0.7824, allocations: 4.487 MB / 0.684 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.7848, allocations: 1.559 MB / 0.6855 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.7858, allocations: 0.654 MB / 0.6862 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.786, allocations: 23.08 kB / 0.6862 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.786, allocations: 44.41 kB / 0.6862 GB, free: 99.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.786, allocations: 0.5 kB / 0.6862 GB, free: 99.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01258/0.7986, allocations: 4.341 MB / 0.6905 GB, free: 99.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.7987, allocations: 115.4 kB / 0.6906 GB, free: 99.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7998, allocations: 0.8772 MB / 0.6914 GB, free: 98.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.8, allocations: 47.17 kB / 0.6915 GB, free: 98.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.8003, allocations: 0.5965 MB / 0.6921 GB, free: 98.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.8005, allocations: 389.6 kB / 0.6924 GB, free: 98.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.8006, allocations: 22.03 kB / 0.6924 GB, free: 98.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.8007, allocations: 351.6 kB / 0.6928 GB, free: 98.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.8014, allocations: 492.9 kB / 0.6932 GB, free: 97.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.8022, allocations: 0.663 MB / 0.6939 GB, free: 97.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.803, allocations: 0.5509 MB / 0.6944 GB, free: 97.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.803, allocations: 0 / 0.6944 GB, free: 97.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01216/0.8152, allocations: 4.561 MB / 0.6989 GB, free: 96.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.8155, allocations: 1.684 MB / 0.7005 GB, free: 94.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8155, allocations: 3.344 kB / 0.7005 GB, free: 94.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005225/0.8207, allocations: 1.818 MB / 0.7023 GB, free: 94.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.8215, allocations: 174.1 kB / 0.7025 GB, free: 94.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.8356, allocations: 7.723 MB / 0.71 GB, free: 90.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.8372, allocations: 210.3 kB / 0.7102 GB, free: 89.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.8373, allocations: 40.39 kB / 0.7103 GB, free: 89.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.8374, allocations: 3.938 kB / 0.7103 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/0.849, allocations: 4.399 MB / 0.7146 GB, free: 86.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.8491, allocations: 8.031 kB / 0.7146 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/0.8544, allocations: 1.814 MB / 0.7163 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.8551, allocations: 162.2 kB / 0.7165 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.8705, allocations: 7.683 MB / 0.724 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.872, allocations: 188.1 kB / 0.7242 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/0.8721, allocations: 47.62 kB / 0.7242 GB, free: 77.87 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "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 () * 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.0003081/0.8724, allocations: 188.6 kB / 0.7244 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.8727, allocations: 134.3 kB / 0.7245 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.8848, allocations: 4.463 MB / 0.7289 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8849, allocations: 11.94 kB / 0.7289 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8849, allocations: 0 / 0.7289 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.8849, allocations: 7.844 kB / 0.7289 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.8989, allocations: 6.244 MB / 0.735 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.899, allocations: 0 / 0.735 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/0.8997, allocations: 131.8 kB / 0.7351 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.9046, allocations: 1.734 MB / 0.7368 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.9048, allocations: 16 kB / 0.7368 GB, free: 67.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/0.9168, allocations: 6.699 MB / 0.7434 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9168, allocations: 0 / 0.7434 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.9301, allocations: 5.276 MB / 0.7485 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.9306, allocations: 235.1 kB / 0.7488 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.9307, allocations: 24 kB / 0.7488 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9318, allocations: 139.9 kB / 0.7489 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.9324, allocations: 204.6 kB / 0.7491 GB, free: 54.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.9325, allocations: 28 kB / 0.7491 GB, free: 54.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007537/0.9333, allocations: 0.6804 MB / 0.7498 GB, free: 53.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9333, allocations: 0 / 0.7498 GB, free: 53.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001789/0.9351, allocations: 0.758 MB / 0.7505 GB, free: 52.89 MB / 490.7 MB 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 () * 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.0002476/0.9353, allocations: 154.4 kB / 0.7507 GB, free: 52.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00903/0.9444, allocations: 3.871 MB / 0.7545 GB, free: 48.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9444, allocations: 0 / 0.7545 GB, free: 48.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004066/0.9485, allocations: 1.571 MB / 0.756 GB, free: 47.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.9495, allocations: 114 kB / 0.7561 GB, free: 47.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.9524, allocations: 1.782 MB / 0.7578 GB, free: 45.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.9529, allocations: 1.217 MB / 0.759 GB, free: 44.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007545/0.9537, allocations: 178.4 kB / 0.7592 GB, free: 43.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.9539, allocations: 55.44 kB / 0.7593 GB, free: 43.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9539, allocations: 0 / 0.7593 GB, free: 43.88 MB / 490.7 MB Notification: Performance of Templates: time 0.03951/0.9934, allocations: 31.9 MB / 0.7904 GB, free: 12.3 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)