Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 173.6 kB / 12.73 MB, free: 2.586 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.494/1.494, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008366/0.0008364, allocations: 87.12 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.558/0.558, allocations: 78.07 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.691e-05, allocations: 4 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4307, allocations: 69.34 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.5743, allocations: 99.27 MB / 0.645 GB, free: 1.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5746, allocations: 87.92 kB / 0.6451 GB, free: 1.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08188/0.6565, allocations: 28.75 MB / 0.6732 GB, free: 4.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6566, allocations: 0 / 0.6732 GB, free: 4.242 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.6567, allocations: 24 kB / 0.6732 GB, free: 4.219 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.006212/0.6629, allocations: 1.864 MB / 0.675 GB, free: 2.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.663, allocations: 11.97 kB / 0.675 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004984/0.6635, allocations: 151.9 kB / 0.6752 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.6673, allocations: 0.5756 MB / 0.6758 GB, free: 1.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.6698, allocations: 0.8385 MB / 0.6766 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.6701, allocations: 238.4 kB / 0.6768 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.6705, allocations: 95.98 kB / 0.6769 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3672/1.038, allocations: 1.144 MB / 0.678 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.038, allocations: 0.625 kB / 0.678 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.038, allocations: 38.33 kB / 0.678 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/1.038, allocations: 23.53 kB / 0.6781 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/1.04, allocations: 0.9801 MB / 0.679 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/1.048, allocations: 4.252 MB / 0.6832 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/1.051, allocations: 1.547 MB / 0.6847 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.052, allocations: 0.6483 MB / 0.6853 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/1.052, allocations: 14.61 kB / 0.6853 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.052, allocations: 46.19 kB / 0.6854 GB, free: 100.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/1.052, allocations: 0 / 0.6854 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01356/1.066, allocations: 4.311 MB / 0.6896 GB, free: 100.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/1.066, allocations: 121.6 kB / 0.6897 GB, free: 100.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.068, allocations: 0.8451 MB / 0.6905 GB, free: 99.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/1.068, allocations: 42.36 kB / 0.6906 GB, free: 99.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/1.068, allocations: 0.5733 MB / 0.6911 GB, free: 99.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/1.069, allocations: 375.9 kB / 0.6915 GB, free: 99.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/1.069, allocations: 25.47 kB / 0.6915 GB, free: 99.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/1.069, allocations: 348.3 kB / 0.6918 GB, free: 99.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007879/1.07, allocations: 481.3 kB / 0.6923 GB, free: 99.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/1.07, allocations: 0.6479 MB / 0.6929 GB, free: 98.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/1.071, allocations: 0.5325 MB / 0.6935 GB, free: 98.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.071, allocations: 2.969 kB / 0.6935 GB, free: 98.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01265/1.084, allocations: 4.523 MB / 0.6979 GB, free: 97.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003798/1.084, allocations: 1.507 MB / 0.6994 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.084, allocations: 3.938 kB / 0.6994 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/1.09, allocations: 1.803 MB / 0.7011 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/1.091, allocations: 166.9 kB / 0.7013 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.106, allocations: 7.721 MB / 0.7088 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.108, allocations: 207 kB / 0.709 GB, free: 91.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.108, allocations: 37.59 kB / 0.709 GB, free: 91.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.108, allocations: 3.438 kB / 0.7091 GB, free: 91.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/1.12, allocations: 4.375 MB / 0.7133 GB, free: 88.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.12, allocations: 4 kB / 0.7133 GB, free: 88.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/1.126, allocations: 1.806 MB / 0.7151 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.126, allocations: 153.4 kB / 0.7152 GB, free: 87.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/1.141, allocations: 7.679 MB / 0.7227 GB, free: 80.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.142, allocations: 190.9 kB / 0.7229 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/1.143, allocations: 36 kB / 0.723 GB, free: 79.9 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.0003776/1.143, allocations: 181.5 kB / 0.7231 GB, free: 79.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.143, allocations: 134.4 kB / 0.7233 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.156, allocations: 4.446 MB / 0.7276 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/1.156, allocations: 12 kB / 0.7276 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.156, allocations: 0 / 0.7276 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.156, allocations: 7.188 kB / 0.7276 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.172, allocations: 6.187 MB / 0.7337 GB, free: 71.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.172, allocations: 0 / 0.7337 GB, free: 71.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/1.173, allocations: 131.8 kB / 0.7338 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005224/1.178, allocations: 1.738 MB / 0.7355 GB, free: 69.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.179, allocations: 16 kB / 0.7355 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.192, allocations: 6.702 MB / 0.742 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.192, allocations: 4 kB / 0.742 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.206, allocations: 5.242 MB / 0.7472 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/1.207, allocations: 215.2 kB / 0.7474 GB, free: 56.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/1.207, allocations: 20 kB / 0.7474 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.209, allocations: 147.9 kB / 0.7475 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/1.209, allocations: 200.6 kB / 0.7477 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.21, allocations: 28 kB / 0.7477 GB, free: 56.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001015/1.211, allocations: 0.6557 MB / 0.7484 GB, free: 55.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.211, allocations: 0 / 0.7484 GB, free: 55.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0029/1.213, allocations: 0.7436 MB / 0.7491 GB, free: 55.07 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.0139/1.227, allocations: 5.848 MB / 0.7548 GB, free: 49.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.238, allocations: 3.82 MB / 0.7586 GB, free: 45.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.238, allocations: 0 / 0.7586 GB, free: 45.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004472/1.242, allocations: 1.563 MB / 0.7601 GB, free: 43.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.244, allocations: 110.1 kB / 0.7602 GB, free: 43.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/1.249, allocations: 1.914 MB / 0.7621 GB, free: 41.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/1.249, allocations: 1.198 MB / 0.7632 GB, free: 40.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008262/1.25, allocations: 177.7 kB / 0.7634 GB, free: 40.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/1.251, allocations: 495.3 kB / 0.7639 GB, free: 39.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.844e-06/1.251, allocations: 0 / 0.7639 GB, free: 39.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0697/1.321, allocations: 42.14 MB / 0.805 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.321, allocations: 182.3 kB / 0.8052 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/4.654, allocations: 0 / 0.8052 GB, free: 13.96 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)