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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007738/0.000774, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 239.4 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.5 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5396/0.5396, allocations: 91.91 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 8.328 kB / 0.5049 GB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3995, allocations: 72.46 MB / 0.5756 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004801/0.4044, allocations: 6.221 MB / 0.5817 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.4076, allocations: 1.978 MB / 0.5837 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.408, allocations: 18.53 kB / 0.5837 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.4085, allocations: 183.8 kB / 0.5838 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.4098, allocations: 0.6266 MB / 0.5845 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4109, allocations: 0.6254 MB / 0.5851 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000976/0.4119, allocations: 1.378 MB / 0.5864 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.4123, allocations: 280.7 kB / 0.5867 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.4128, allocations: 0.5339 MB / 0.5872 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.4133, allocations: 0.6575 MB / 0.5878 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4135, allocations: 52.41 kB / 0.5879 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.4138, allocations: 189.9 kB / 0.5881 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.414, allocations: 230.6 kB / 0.5883 GB, free: 29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.4144, allocations: 0.5707 MB / 0.5889 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.4155, allocations: 1.451 MB / 0.5903 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4155, allocations: 0 / 0.5903 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4155, allocations: 0.9688 kB / 0.5903 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4155, allocations: 0 / 0.5903 GB, free: 28.05 MB / 430.1 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.007622/0.4231, allocations: 2.391 MB / 0.5926 GB, free: 27.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4232, allocations: 8.406 kB / 0.5926 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.4234, allocations: 127.8 kB / 0.5927 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.4282, allocations: 0.7784 MB / 0.5935 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.4295, allocations: 0.8177 MB / 0.5943 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.4297, allocations: 227.9 kB / 0.5945 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4299, allocations: 82.28 kB / 0.5946 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.4322, allocations: 1.214 MB / 0.5958 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4322, allocations: 0 / 0.5958 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/0.4323, allocations: 30.98 kB / 0.5958 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4324, allocations: 17.34 kB / 0.5958 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.4348, allocations: 1.168 MB / 0.597 GB, free: 25.16 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/0.4401, allocations: 3.211 MB / 0.6001 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.4433, allocations: 1.753 MB / 0.6018 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.4449, allocations: 0.8337 MB / 0.6026 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.355e-05/0.445, allocations: 12.98 kB / 0.6026 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.4451, allocations: 44.47 kB / 0.6027 GB, free: 22.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.675e-06/0.4451, allocations: 4 kB / 0.6027 GB, free: 22.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.03238/0.4775, allocations: 8.776 MB / 0.6113 GB, free: 20.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4776, allocations: 91.61 kB / 0.6113 GB, free: 20.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.4794, allocations: 0.9512 MB / 0.6123 GB, free: 20.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.4796, allocations: 45.7 kB / 0.6123 GB, free: 20.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.48, allocations: 490.6 kB / 0.6128 GB, free: 19.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4804, allocations: 330.3 kB / 0.6131 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.4806, allocations: 101.9 kB / 0.6132 GB, free: 19.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.4807, allocations: 350.5 kB / 0.6135 GB, free: 19.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.4825, allocations: 0.7818 MB / 0.6143 GB, free: 18.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.4844, allocations: 0.9067 MB / 0.6152 GB, free: 18.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.5037, allocations: 5.222 MB / 0.6203 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.5037, allocations: 0 / 0.6203 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01423/0.518, allocations: 5.378 MB / 0.6255 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5181, allocations: 151.3 kB / 0.6257 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5181, allocations: 4 kB / 0.6257 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006416/0.5246, allocations: 2.217 MB / 0.6278 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.5255, allocations: 187.7 kB / 0.628 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.5473, allocations: 10.28 MB / 0.6381 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.5491, allocations: 214.9 kB / 0.6383 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.5493, allocations: 39.98 kB / 0.6383 GB, free: 12.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5493, allocations: 4 kB / 0.6383 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01546/0.5647, allocations: 5.218 MB / 0.6434 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.5648, allocations: 0 / 0.6434 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007234/0.5721, allocations: 2.225 MB / 0.6456 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.573, allocations: 171.7 kB / 0.6457 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/0.598, allocations: 10.24 MB / 0.6557 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.5998, allocations: 203 kB / 0.6559 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.6001, allocations: 39.98 kB / 0.656 GB, free: 10.56 MB / 462.1 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 (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008788/0.601, allocations: 316.9 kB / 0.6563 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.6015, allocations: 114.6 kB / 0.6564 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.6172, allocations: 5.042 MB / 0.6613 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.6172, allocations: 8 kB / 0.6613 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6173, allocations: 7.938 kB / 0.6613 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/0.6173, allocations: 7.969 kB / 0.6613 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.6357, allocations: 6.673 MB / 0.6678 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.6358, allocations: 0 / 0.6678 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.6364, allocations: 107.8 kB / 0.668 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006899/0.6434, allocations: 2.152 MB / 0.6701 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.6436, allocations: 19.98 kB / 0.6701 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.6654, allocations: 8.832 MB / 0.6787 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.6654, allocations: 4 kB / 0.6787 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/0.6833, allocations: 6.044 MB / 0.6846 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.6839, allocations: 203.5 kB / 0.6848 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.6844, allocations: 19.98 kB / 0.6848 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.6859, allocations: 143.9 kB / 0.685 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007478/0.6867, allocations: 196.7 kB / 0.6851 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.6869, allocations: 20 kB / 0.6852 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.6881, allocations: 0.6508 MB / 0.6858 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6881, allocations: 0 / 0.6858 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002795/0.6909, allocations: 0.7139 MB / 0.6865 GB, free: 10.96 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/0.7088, allocations: 6.612 MB / 0.6929 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0134/0.7223, allocations: 4.72 MB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7223, allocations: 0 / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/0.7276, allocations: 1.767 MB / 0.6993 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.7291, allocations: 96.3 kB / 0.6994 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04606/0.7751, allocations: 18.71 MB / 0.7176 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.7761, allocations: 1.113 MB / 0.7187 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006252/0.7767, allocations: 119.1 kB / 0.7188 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/0.7774, allocations: 435.2 kB / 0.7193 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.7774, allocations: 4 kB / 0.7193 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.385/8.163, allocations: 38.84 MB / 0.7572 GB, free: 2.211 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003738/8.163, allocations: 217.9 kB / 0.7574 GB, free: 1.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/12.27, allocations: 3.938 kB / 0.7574 GB, free: 1.957 MB / 0.545 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/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)