Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_dev_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.0014/0.0014, 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.416/1.416, 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.0009061/0.0009061, allocations: 96.84 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4813/0.4813, allocations: 78.95 MB / 410.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.913e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 69.52 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5717, allocations: 98.44 MB / 0.6387 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.572, allocations: 83.95 kB / 0.6388 GB, free: 15.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07033/0.6424, allocations: 25.84 MB / 0.664 GB, free: 5.676 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6424, allocations: 4 kB / 0.664 GB, free: 5.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.192e-05/0.6425, allocations: 16 kB / 0.664 GB, free: 5.656 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.005049/0.6476, allocations: 1.722 MB / 0.6657 GB, free: 3.891 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6476, allocations: 12.03 kB / 0.6657 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.651, allocations: 0.5525 MB / 0.6662 GB, free: 3.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.6528, allocations: 0.7475 MB / 0.667 GB, free: 2.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.653, allocations: 202.8 kB / 0.6672 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.6533, allocations: 51.94 kB / 0.6672 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001639/0.6549, allocations: 0.8436 MB / 0.668 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6566, allocations: 0.8562 MB / 0.6689 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6566, allocations: 0 / 0.6689 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.6567, allocations: 0 / 0.6689 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.6567, allocations: 20 kB / 0.6689 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005705/0.6624, allocations: 3.023 MB / 0.6718 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.6648, allocations: 1.433 MB / 0.6732 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.6657, allocations: 0.5752 MB / 0.6738 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.6658, allocations: 16.77 kB / 0.6738 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6658, allocations: 47.34 kB / 0.6739 GB, free: 11.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.345e-06/0.6658, allocations: 0 / 0.6739 GB, free: 11.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01301/0.6789, allocations: 4.161 MB / 0.6779 GB, free: 6.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.679, allocations: 89.89 kB / 0.678 GB, free: 6.883 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.6802, allocations: 0.7091 MB / 0.6787 GB, free: 6.156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.6804, allocations: 25.7 kB / 0.6787 GB, free: 6.125 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.6808, allocations: 496.5 kB / 0.6792 GB, free: 5.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.6812, allocations: 311.2 kB / 0.6795 GB, free: 5.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.6813, allocations: 0 / 0.6795 GB, free: 5.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6815, allocations: 342.9 kB / 0.6798 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.6822, allocations: 442.6 kB / 0.6802 GB, free: 4.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.683, allocations: 0.5329 MB / 0.6808 GB, free: 3.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.6838, allocations: 479.6 kB / 0.6812 GB, free: 3.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6838, allocations: 0 / 0.6812 GB, free: 3.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01313/0.6969, allocations: 4.305 MB / 0.6854 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.6973, allocations: 0.7935 MB / 0.6862 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.6974, allocations: 6.438 kB / 0.6862 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/0.7032, allocations: 1.752 MB / 0.6879 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.7039, allocations: 119.8 kB / 0.688 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.7199, allocations: 7.484 MB / 0.6953 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.7215, allocations: 179 kB / 0.6955 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.7217, allocations: 36 kB / 0.6956 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7218, allocations: 4 kB / 0.6956 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01311/0.7349, allocations: 4.152 MB / 0.6996 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.7349, allocations: 4 kB / 0.6996 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005732/0.7407, allocations: 1.746 MB / 0.7013 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.7413, allocations: 119.8 kB / 0.7014 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.7575, allocations: 7.495 MB / 0.7088 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.7593, allocations: 167.2 kB / 0.7089 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.7596, allocations: 24 kB / 0.7089 GB, free: 6.812 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.000601/0.7602, allocations: 119.8 kB / 0.709 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01316/0.7734, allocations: 4.168 MB / 0.7131 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.7738, allocations: 118.5 kB / 0.7132 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.7868, allocations: 4.253 MB / 0.7174 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.7868, allocations: 8 kB / 0.7174 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7868, allocations: 7.938 kB / 0.7174 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.7868, allocations: 7.969 kB / 0.7174 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.8019, allocations: 5.799 MB / 0.7231 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.802, allocations: 2.5 kB / 0.7231 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.8026, allocations: 95.83 kB / 0.7232 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/0.8079, allocations: 1.726 MB / 0.7249 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.808, allocations: 4 kB / 0.7249 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.8217, allocations: 6.544 MB / 0.7312 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8218, allocations: 0 / 0.7312 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.8358, allocations: 5.02 MB / 0.7361 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.8363, allocations: 207.5 kB / 0.7363 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.8366, allocations: 5.594 kB / 0.7364 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.8379, allocations: 127.9 kB / 0.7365 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006058/0.8386, allocations: 200.4 kB / 0.7367 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.8387, allocations: 22.62 kB / 0.7367 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008611/0.8395, allocations: 0.5489 MB / 0.7372 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8396, allocations: 0 / 0.7372 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002163/0.8417, allocations: 0.6162 MB / 0.7378 GB, free: 8.895 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.01425/0.856, allocations: 5.588 MB / 0.7433 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009801/0.8658, allocations: 3.53 MB / 0.7467 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.8659, allocations: 0 / 0.7467 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/0.8703, allocations: 1.463 MB / 0.7482 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.8712, allocations: 61.89 kB / 0.7482 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.8757, allocations: 1.716 MB / 0.7499 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.8766, allocations: 1.135 MB / 0.751 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000704/0.8773, allocations: 162.4 kB / 0.7512 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.8778, allocations: 411.3 kB / 0.7515 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of SimCode: time 2.154e-06/0.8778, allocations: 0 / 0.7515 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/1.226, allocations: 36.68 MB / 0.7874 GB, free: 143 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.226, allocations: 138.4 kB / 0.7875 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/4.15, allocations: 2.875 kB / 0.7875 GB, free: 142.8 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)