Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009185, allocations: 93.73 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5257/0.5257, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.086e-05, allocations: 3.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 69.36 MB / 0.5414 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6679, allocations: 97.87 MB / 0.637 GB, free: 1.652 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.6683, allocations: 87.94 kB / 0.637 GB, free: 1.566 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06967/0.7379, allocations: 25.56 MB / 0.662 GB, free: 8.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.738, allocations: 0 / 0.662 GB, free: 8.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.809e-05/0.738, allocations: 20 kB / 0.662 GB, free: 8 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.004771/0.7428, allocations: 1.718 MB / 0.6637 GB, free: 6.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7429, allocations: 8.031 kB / 0.6637 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.7462, allocations: 0.5547 MB / 0.6642 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.7479, allocations: 0.7514 MB / 0.665 GB, free: 4.867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.7481, allocations: 194.8 kB / 0.6652 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.7483, allocations: 51.95 kB / 0.6652 GB, free: 4.598 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/0.75, allocations: 0.8435 MB / 0.666 GB, free: 3.754 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.7515, allocations: 0.8564 MB / 0.6669 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.7516, allocations: 3.938 kB / 0.6669 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.7517, allocations: 0 / 0.6669 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.7517, allocations: 16 kB / 0.6669 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.7573, allocations: 3.027 MB / 0.6699 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.7597, allocations: 1.44 MB / 0.6713 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.7605, allocations: 0.5675 MB / 0.6718 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.7607, allocations: 16.77 kB / 0.6718 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.874e-05/0.7608, allocations: 43.34 kB / 0.6719 GB, free: 13.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.316e-06/0.7608, allocations: 0 / 0.6719 GB, free: 13.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01295/0.7737, allocations: 4.161 MB / 0.6759 GB, free: 9.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.7739, allocations: 93.81 kB / 0.676 GB, free: 9.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.7751, allocations: 0.7091 MB / 0.6767 GB, free: 8.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.7753, allocations: 25.7 kB / 0.6767 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.7757, allocations: 0.4927 MB / 0.6772 GB, free: 7.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.7761, allocations: 312.5 kB / 0.6775 GB, free: 7.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.7762, allocations: 0 / 0.6775 GB, free: 7.668 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7763, allocations: 342.9 kB / 0.6778 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/0.7771, allocations: 434.6 kB / 0.6783 GB, free: 6.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.7779, allocations: 0.5316 MB / 0.6788 GB, free: 6.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.7786, allocations: 479.5 kB / 0.6792 GB, free: 5.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.7786, allocations: 4 kB / 0.6792 GB, free: 5.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01274/0.7914, allocations: 4.313 MB / 0.6835 GB, free: 1.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005445/0.792, allocations: 0.7911 MB / 0.6842 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.792, allocations: 4 kB / 0.6842 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00586/0.7979, allocations: 1.745 MB / 0.6859 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.7986, allocations: 126.2 kB / 0.6861 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.8136, allocations: 7.488 MB / 0.6934 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.8154, allocations: 184 kB / 0.6935 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.8155, allocations: 28 kB / 0.6936 GB, free: 7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8155, allocations: 4 kB / 0.6936 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/0.8279, allocations: 4.156 MB / 0.6976 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.828, allocations: 3.938 kB / 0.6976 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005711/0.8337, allocations: 1.757 MB / 0.6994 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.8345, allocations: 111.8 kB / 0.6995 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.8496, allocations: 7.491 MB / 0.7068 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.8512, allocations: 171.2 kB / 0.7069 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.8513, allocations: 28 kB / 0.707 GB, free: 9.148 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(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 () * 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.0003406/0.8517, allocations: 114.6 kB / 0.7071 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01249/0.8642, allocations: 4.164 MB / 0.7111 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/0.8649, allocations: 118.5 kB / 0.7113 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.8781, allocations: 4.245 MB / 0.7154 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.8782, allocations: 12.75 kB / 0.7154 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8782, allocations: 3.938 kB / 0.7154 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.8783, allocations: 11.91 kB / 0.7154 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.8937, allocations: 5.802 MB / 0.7211 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.8938, allocations: 0 / 0.7211 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.8945, allocations: 95.89 kB / 0.7212 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/0.8998, allocations: 1.722 MB / 0.7229 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.9001, allocations: 10.44 kB / 0.7229 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.9136, allocations: 6.546 MB / 0.7293 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9137, allocations: 0 / 0.7293 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.928, allocations: 5.016 MB / 0.7342 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/0.9287, allocations: 207.5 kB / 0.7344 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.9289, allocations: 0 / 0.7344 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9301, allocations: 127.9 kB / 0.7345 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006308/0.9307, allocations: 200.4 kB / 0.7347 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.9308, allocations: 24 kB / 0.7347 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008292/0.9316, allocations: 0.5411 MB / 0.7352 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9316, allocations: 4 kB / 0.7352 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002134/0.9338, allocations: 0.6123 MB / 0.7358 GB, free: 11.25 MB / 0.5417 GB 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 () * 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.01438/0.9482, allocations: 5.595 MB / 0.7413 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.9592, allocations: 3.53 MB / 0.7447 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.9593, allocations: 0 / 0.7447 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00489/0.9642, allocations: 1.467 MB / 0.7462 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.9655, allocations: 75.81 kB / 0.7462 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.9708, allocations: 1.7 MB / 0.7479 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.9717, allocations: 1.134 MB / 0.749 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007072/0.9724, allocations: 159.8 kB / 0.7492 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.9729, allocations: 411.3 kB / 0.7496 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of SimCode: time 3.617e-06/0.9729, allocations: 0 / 0.7496 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3784/1.351, allocations: 36.67 MB / 0.7854 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.352, allocations: 128.8 kB / 0.7855 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.24/4.592, allocations: 0 / 0.7855 GB, free: 147.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)