Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008821/0.0008818, allocations: 95.45 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09329/0.09329, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3338/0.3338, allocations: 78.06 MB / 450.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.254e-05, allocations: 8 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5542/0.6866, allocations: 100.2 MB / 0.6797 GB, free: 8.387 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.6869, allocations: 83.58 kB / 0.6798 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0721/0.759, allocations: 27.65 MB / 0.7068 GB, free: 1.688 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7591, allocations: 0 / 0.7068 GB, free: 1.688 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.431e-05/0.7592, allocations: 24.88 kB / 0.7068 GB, free: 1.664 MB / 442.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.006105/0.7653, allocations: 1.865 MB / 0.7086 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.613e-05/0.7654, allocations: 8.031 kB / 0.7086 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/0.7692, allocations: 0.5798 MB / 0.7092 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.7712, allocations: 0.8452 MB / 0.71 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.7714, allocations: 202.5 kB / 0.7102 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.7716, allocations: 55.25 kB / 0.7102 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001641/0.7732, allocations: 0.9225 MB / 0.7111 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.775, allocations: 1.014 MB / 0.7121 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.775, allocations: 7.938 kB / 0.7121 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.7751, allocations: 0.6562 kB / 0.7121 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.7751, allocations: 24 kB / 0.7122 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006964/0.7821, allocations: 4.11 MB / 0.7162 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.7847, allocations: 1.509 MB / 0.7177 GB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/0.7857, allocations: 0.6226 MB / 0.7183 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.7859, allocations: 17.3 kB / 0.7183 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.7859, allocations: 47.31 kB / 0.7183 GB, free: 8.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 4.619e-06/0.7859, allocations: 3.938 kB / 0.7183 GB, free: 8.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.01335/0.7993, allocations: 4.228 MB / 0.7225 GB, free: 4.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.7994, allocations: 120.1 kB / 0.7226 GB, free: 4.195 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.8011, allocations: 0.778 MB / 0.7233 GB, free: 3.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003217/0.8014, allocations: 25.7 kB / 0.7234 GB, free: 3.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.8019, allocations: 0.5744 MB / 0.7239 GB, free: 3.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004902/0.8024, allocations: 364.6 kB / 0.7243 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.8025, allocations: 0 / 0.7243 GB, free: 2.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.8027, allocations: 359.6 kB / 0.7246 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.8035, allocations: 460.4 kB / 0.725 GB, free: 2.363 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.8043, allocations: 0.6198 MB / 0.7256 GB, free: 1.922 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.8051, allocations: 0.5144 MB / 0.7262 GB, free: 1.633 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.8051, allocations: 0 / 0.7262 GB, free: 1.633 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01373/0.8189, allocations: 4.431 MB / 0.7305 GB, free: 13.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008635/0.8198, allocations: 1.496 MB / 0.7319 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.8199, allocations: 11.94 kB / 0.732 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/0.8259, allocations: 1.75 MB / 0.7337 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/0.8269, allocations: 170.5 kB / 0.7338 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.8425, allocations: 7.483 MB / 0.7411 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8443, allocations: 183 kB / 0.7413 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8445, allocations: 43.97 kB / 0.7413 GB, free: 3.727 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.8445, allocations: 0 / 0.7413 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01306/0.8576, allocations: 4.258 MB / 0.7455 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.8576, allocations: 4 kB / 0.7455 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005666/0.8633, allocations: 1.757 MB / 0.7472 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/0.8642, allocations: 143.8 kB / 0.7474 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.8805, allocations: 7.492 MB / 0.7547 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.8826, allocations: 159 kB / 0.7548 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.8827, allocations: 43.98 kB / 0.7549 GB, free: 5.738 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.0005015/0.8832, allocations: 128.6 kB / 0.755 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01296/0.8962, allocations: 4.243 MB / 0.7591 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008222/0.8971, allocations: 130.4 kB / 0.7593 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.9103, allocations: 4.341 MB / 0.7635 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/0.9104, allocations: 15.94 kB / 0.7635 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9104, allocations: 3.938 kB / 0.7635 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.892e-05/0.9104, allocations: 7.938 kB / 0.7635 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.927, allocations: 6.008 MB / 0.7694 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/0.9271, allocations: 0 / 0.7694 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/0.928, allocations: 127.8 kB / 0.7695 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005701/0.9337, allocations: 1.722 MB / 0.7712 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003741/0.9342, allocations: 4 kB / 0.7712 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.9484, allocations: 6.555 MB / 0.7776 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9485, allocations: 0 / 0.7776 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.9639, allocations: 5.15 MB / 0.7826 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.965, allocations: 219.2 kB / 0.7828 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/0.9654, allocations: 4 kB / 0.7828 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9667, allocations: 123.9 kB / 0.783 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/0.9674, allocations: 200.9 kB / 0.7832 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.9675, allocations: 28 kB / 0.7832 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001077/0.9686, allocations: 0.5914 MB / 0.7838 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9686, allocations: 0 / 0.7838 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002898/0.9715, allocations: 0.6783 MB / 0.7844 GB, free: 7.137 MB / 0.5105 GB 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.01508/0.9866, allocations: 5.748 MB / 0.79 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.9981, allocations: 3.698 MB / 0.7936 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.9982, allocations: 4.125 kB / 0.7937 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004795/1.003, allocations: 1.495 MB / 0.7951 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/1.005, allocations: 106.2 kB / 0.7952 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/1.01, allocations: 1.827 MB / 0.797 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/1.011, allocations: 1.197 MB / 0.7982 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007958/1.011, allocations: 174.5 kB / 0.7983 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.012, allocations: 0.4915 MB / 0.7988 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of SimCode: time 4.048e-06/1.012, allocations: 0 / 0.7988 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0893/1.101, allocations: 39.45 MB / 0.8373 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.102, allocations: 128.8 kB / 0.8375 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/4.549, allocations: 3.625 kB / 0.8375 GB, free: 0.6289 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)