Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_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.0009499/0.00095, allocations: 180.9 kB / 7.65 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.418/1.418, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009626/0.0009625, allocations: 96.8 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5793/0.5793, allocations: 78.13 MB / 409.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 0 / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1745, allocations: 69.36 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.6517, allocations: 97.86 MB / 0.637 GB, free: 1.711 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.652, allocations: 80.86 kB / 0.6371 GB, free: 1.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06886/0.7209, allocations: 25.55 MB / 0.662 GB, free: 8.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.721, allocations: 0 / 0.662 GB, free: 8.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.321e-05/0.721, allocations: 20 kB / 0.662 GB, free: 8.094 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.004789/0.7258, allocations: 1.726 MB / 0.6637 GB, free: 6.324 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7259, allocations: 8.031 kB / 0.6637 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.7292, allocations: 0.5525 MB / 0.6643 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.7308, allocations: 0.7553 MB / 0.665 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.731, allocations: 198.8 kB / 0.6652 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7312, allocations: 47.95 kB / 0.6653 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/0.7327, allocations: 0.8436 MB / 0.6661 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.7341, allocations: 0.8563 MB / 0.6669 GB, free: 2.969 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7341, allocations: 4 kB / 0.6669 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/0.7342, allocations: 3.984 kB / 0.6669 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.7342, allocations: 16 kB / 0.6669 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005212/0.7395, allocations: 3.016 MB / 0.6699 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.7417, allocations: 1.441 MB / 0.6713 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/0.7426, allocations: 0.574 MB / 0.6718 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.7427, allocations: 16.69 kB / 0.6719 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.7427, allocations: 43.34 kB / 0.6719 GB, free: 13.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.277e-06/0.7427, allocations: 3.984 kB / 0.6719 GB, free: 13.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.0128/0.7555, allocations: 4.161 MB / 0.676 GB, free: 9.426 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.7557, allocations: 85.89 kB / 0.6761 GB, free: 9.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.7569, allocations: 0.7135 MB / 0.6768 GB, free: 8.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.7572, allocations: 25.7 kB / 0.6768 GB, free: 8.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.7576, allocations: 496.6 kB / 0.6772 GB, free: 8.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.758, allocations: 319.2 kB / 0.6776 GB, free: 7.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.7581, allocations: 0 / 0.6776 GB, free: 7.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7582, allocations: 342.9 kB / 0.6779 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.7589, allocations: 435.5 kB / 0.6783 GB, free: 6.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.7598, allocations: 0.5276 MB / 0.6788 GB, free: 6.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.7606, allocations: 483.6 kB / 0.6793 GB, free: 5.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7606, allocations: 0 / 0.6793 GB, free: 5.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01345/0.774, allocations: 4.312 MB / 0.6835 GB, free: 1.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.7744, allocations: 0.7935 MB / 0.6843 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7744, allocations: 2.438 kB / 0.6843 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005906/0.7803, allocations: 1.749 MB / 0.686 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.781, allocations: 116.6 kB / 0.6861 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.7968, allocations: 7.496 MB / 0.6934 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.7985, allocations: 183 kB / 0.6936 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.7986, allocations: 28 kB / 0.6936 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7987, allocations: 4 kB / 0.6936 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01311/0.8118, allocations: 4.156 MB / 0.6977 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.8119, allocations: 4 kB / 0.6977 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/0.8177, allocations: 1.749 MB / 0.6994 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.8184, allocations: 116.4 kB / 0.6995 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.8341, allocations: 7.497 MB / 0.7068 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.8359, allocations: 167.2 kB / 0.707 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.836, allocations: 28 kB / 0.707 GB, free: 9.234 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.0003558/0.8363, allocations: 120.9 kB / 0.7071 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01284/0.8492, allocations: 4.164 MB / 0.7112 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.8499, allocations: 118.5 kB / 0.7113 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.8626, allocations: 4.253 MB / 0.7154 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.8627, allocations: 8 kB / 0.7155 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8627, allocations: 7.938 kB / 0.7155 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.8627, allocations: 3.984 kB / 0.7155 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.8774, allocations: 5.798 MB / 0.7211 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.8775, allocations: 1.594 kB / 0.7211 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.8782, allocations: 102.5 kB / 0.7212 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005434/0.8836, allocations: 1.718 MB / 0.7229 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.8839, allocations: 11.98 kB / 0.7229 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.8977, allocations: 6.543 MB / 0.7293 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8978, allocations: 0 / 0.7293 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.9124, allocations: 5.012 MB / 0.7342 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/0.913, allocations: 215.5 kB / 0.7344 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.9134, allocations: 0 / 0.7344 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.9149, allocations: 127.9 kB / 0.7345 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.9156, allocations: 200.4 kB / 0.7347 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.9158, allocations: 24 kB / 0.7347 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009622/0.9167, allocations: 0.5411 MB / 0.7353 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9167, allocations: 0 / 0.7353 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002795/0.9195, allocations: 0.6162 MB / 0.7359 GB, free: 11.33 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.0152/0.9348, allocations: 5.593 MB / 0.7413 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01144/0.9463, allocations: 3.527 MB / 0.7448 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.9463, allocations: 0 / 0.7448 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.9508, allocations: 1.472 MB / 0.7462 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.9519, allocations: 68.86 kB / 0.7463 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.9565, allocations: 1.708 MB / 0.7479 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.9574, allocations: 1.134 MB / 0.7491 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007182/0.9581, allocations: 157 kB / 0.7492 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.9587, allocations: 411.3 kB / 0.7496 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of SimCode: time 3.226e-06/0.9587, allocations: 0 / 0.7496 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4186/1.377, allocations: 36.68 MB / 0.7854 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.378, allocations: 139.3 kB / 0.7855 GB, free: 147 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.439, allocations: 1.438 kB / 0.7855 GB, free: 147 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)