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/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.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_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.005844/0.005844, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.359/1.359, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008459/0.000846, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07382/0.07382, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4178/0.4178, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004842, allocations: 20.67 kB / 0.528 GB, free: 35.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 69.24 MB / 0.5956 GB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5383, allocations: 100.1 MB / 0.6934 GB, free: 35.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.5387, allocations: 88.78 kB / 0.6935 GB, free: 35.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06453/0.6033, allocations: 25.22 MB / 0.7182 GB, free: 32.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6033, allocations: 1.656 kB / 0.7182 GB, free: 32.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.428e-05/0.6034, allocations: 27.06 kB / 0.7182 GB, free: 32.91 MB / 474.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.005463/0.6088, allocations: 1.956 MB / 0.7201 GB, free: 32.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6089, allocations: 13.95 kB / 0.7201 GB, free: 32.05 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.6092, allocations: 131.2 kB / 0.7202 GB, free: 32.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.6124, allocations: 0.5623 MB / 0.7208 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.6141, allocations: 0.7924 MB / 0.7216 GB, free: 31.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.6143, allocations: 224.2 kB / 0.7218 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6145, allocations: 79.31 kB / 0.7218 GB, free: 31.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.6166, allocations: 1.192 MB / 0.723 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6167, allocations: 0 / 0.723 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.6168, allocations: 28.69 kB / 0.723 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.6168, allocations: 19.25 kB / 0.723 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.619, allocations: 1.169 MB / 0.7242 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.6242, allocations: 3.159 MB / 0.7273 GB, free: 30.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.6269, allocations: 1.741 MB / 0.729 GB, free: 29.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.932e-05/0.627, allocations: 14.83 kB / 0.729 GB, free: 29.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.627, allocations: 49.72 kB / 0.729 GB, free: 29.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 2.755e-06/0.627, allocations: 0 / 0.729 GB, free: 29.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.02714/0.6542, allocations: 8.844 MB / 0.7377 GB, free: 29.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.6543, allocations: 85.8 kB / 0.7378 GB, free: 29.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.6556, allocations: 0.8148 MB / 0.7386 GB, free: 28.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.6559, allocations: 41.17 kB / 0.7386 GB, free: 28.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.6562, allocations: 0.4901 MB / 0.7391 GB, free: 28.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.6565, allocations: 335.9 kB / 0.7394 GB, free: 28.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.6566, allocations: 17.66 kB / 0.7394 GB, free: 28.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.6567, allocations: 338.3 kB / 0.7397 GB, free: 28.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.6579, allocations: 0.6745 MB / 0.7404 GB, free: 28.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6592, allocations: 0.7833 MB / 0.7412 GB, free: 28.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.6604, allocations: 0.7191 MB / 0.7419 GB, free: 28.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6604, allocations: 0 / 0.7419 GB, free: 28.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01293/0.6734, allocations: 5.067 MB / 0.7468 GB, free: 27.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.6736, allocations: 0.7917 MB / 0.7476 GB, free: 26.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6736, allocations: 3.906 kB / 0.7476 GB, free: 26.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00613/0.6797, allocations: 2.232 MB / 0.7498 GB, free: 26.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.6804, allocations: 113.5 kB / 0.7499 GB, free: 26.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.7016, allocations: 10.78 MB / 0.7604 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.7034, allocations: 197.8 kB / 0.7606 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.7035, allocations: 27.53 kB / 0.7606 GB, free: 22.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7035, allocations: 3.219 kB / 0.7606 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/0.7165, allocations: 4.908 MB / 0.7654 GB, free: 21.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.7166, allocations: 3.906 kB / 0.7654 GB, free: 21.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/0.7226, allocations: 2.227 MB / 0.7676 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.7233, allocations: 117.2 kB / 0.7677 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.7447, allocations: 10.75 MB / 0.7782 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.7464, allocations: 183.8 kB / 0.7784 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.7465, allocations: 31.06 kB / 0.7784 GB, free: 15.86 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true 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 () * Number of clocked 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.0007817/0.7473, allocations: 312.4 kB / 0.7787 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.7477, allocations: 118.6 kB / 0.7788 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.761, allocations: 5.028 MB / 0.7837 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.7611, allocations: 12 kB / 0.7837 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7611, allocations: 0 / 0.7837 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.7611, allocations: 7.938 kB / 0.7837 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.7772, allocations: 6.664 MB / 0.7903 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.7773, allocations: 0 / 0.7903 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.778, allocations: 95.89 kB / 0.7903 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006069/0.7841, allocations: 2.168 MB / 0.7925 GB, free: 2.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.7843, allocations: 19.98 kB / 0.7925 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/0.8041, allocations: 9.3 MB / 0.8016 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8042, allocations: 0 / 0.8016 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.8217, allocations: 6.017 MB / 0.8074 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.8223, allocations: 211.5 kB / 0.8076 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.8227, allocations: 20 kB / 0.8077 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.8242, allocations: 143.9 kB / 0.8078 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/0.8249, allocations: 196.6 kB / 0.808 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.825, allocations: 23.95 kB / 0.808 GB, free: 2.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.8262, allocations: 0.6432 MB / 0.8086 GB, free: 2.184 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8263, allocations: 0 / 0.8086 GB, free: 2.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002336/0.8286, allocations: 0.6749 MB / 0.8093 GB, free: 1.508 MB / 490.7 MB 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 () * Number of clocked 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.01691/0.8455, allocations: 6.604 MB / 0.8157 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01156/0.8571, allocations: 4.353 MB / 0.82 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.8572, allocations: 0 / 0.82 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/0.8624, allocations: 1.748 MB / 0.8217 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.8636, allocations: 96.19 kB / 0.8218 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/0.8916, allocations: 12.71 MB / 0.8342 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.8923, allocations: 1.132 MB / 0.8353 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005525/0.8929, allocations: 94.02 kB / 0.8354 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/0.8935, allocations: 419.3 kB / 0.8358 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.8935, allocations: 0 / 0.8358 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/0.9565, allocations: 37.74 MB / 0.8727 GB, free: 328 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.9568, allocations: 202.4 kB / 0.8728 GB, free: 84 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/3.975, allocations: 0 / 0.8728 GB, free: 84 kB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)