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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003836/0.003836, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009295/0.0009295, allocations: 88.41 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1105/0.1105, allocations: 12.19 MB / 321.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3336/0.3336, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3189/0.6525, allocations: 76.09 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.8016, allocations: 69.23 MB / 0.5813 GB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/1.229, allocations: 99.31 MB / 0.6783 GB, free: 9.207 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.23, allocations: 85.09 kB / 0.6783 GB, free: 9.191 MB / 426.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.07358/1.303, allocations: 26.35 MB / 0.7041 GB, free: 3.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.303, allocations: 15.94 kB / 0.7041 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/1.307, allocations: 0.5772 MB / 0.7047 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.31, allocations: 0.7649 MB / 0.7054 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/1.31, allocations: 206.9 kB / 0.7056 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/1.311, allocations: 44 kB / 0.7056 GB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/1.313, allocations: 0.8484 MB / 0.7065 GB, free: 1.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/1.315, allocations: 0.847 MB / 0.7073 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.315, allocations: 0 / 0.7073 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.315, allocations: 7.938 kB / 0.7073 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.315, allocations: 20 kB / 0.7073 GB, free: 1.156 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006855/1.322, allocations: 3.053 MB / 0.7103 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.323, allocations: 0.607 MB / 0.7109 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/1.324, allocations: 0.5635 MB / 0.7114 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/1.324, allocations: 20.7 kB / 0.7115 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.324, allocations: 46.08 kB / 0.7115 GB, free: 14.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.318e-06/1.324, allocations: 0 / 0.7115 GB, free: 14.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01475/1.339, allocations: 4.439 MB / 0.7158 GB, free: 10.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.339, allocations: 89.89 kB / 0.7159 GB, free: 10.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.341, allocations: 0.7104 MB / 0.7166 GB, free: 9.539 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.342, allocations: 29.69 kB / 0.7167 GB, free: 9.504 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/1.342, allocations: 314.4 kB / 0.717 GB, free: 9.238 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000568/1.343, allocations: 314.7 kB / 0.7173 GB, free: 8.965 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/1.343, allocations: 3.938 kB / 0.7173 GB, free: 8.961 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/1.343, allocations: 335.2 kB / 0.7176 GB, free: 8.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009243/1.344, allocations: 444 kB / 0.718 GB, free: 8.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/1.345, allocations: 0.5437 MB / 0.7185 GB, free: 8.055 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/1.346, allocations: 486.8 kB / 0.719 GB, free: 7.789 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.346, allocations: 3.938 kB / 0.719 GB, free: 7.785 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01435/1.36, allocations: 4.565 MB / 0.7235 GB, free: 3.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003305/1.36, allocations: 0.7953 MB / 0.7242 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.361, allocations: 0 / 0.7242 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006306/1.367, allocations: 1.816 MB / 0.726 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/1.368, allocations: 123.6 kB / 0.7261 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.385, allocations: 6.813 MB / 0.7328 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.387, allocations: 187.2 kB / 0.733 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/1.387, allocations: 30.73 kB / 0.733 GB, free: 12.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.387, allocations: 4 kB / 0.733 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01436/1.401, allocations: 4.431 MB / 0.7373 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.402, allocations: 4 kB / 0.7373 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006319/1.408, allocations: 1.82 MB / 0.7391 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/1.409, allocations: 111.8 kB / 0.7392 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/1.426, allocations: 6.809 MB / 0.7459 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.428, allocations: 175.3 kB / 0.746 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.428, allocations: 31.98 kB / 0.7461 GB, free: 14.82 MB / 490.7 MB 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.0005688/1.429, allocations: 121.8 kB / 0.7462 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/1.429, allocations: 114.6 kB / 0.7463 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.444, allocations: 4.513 MB / 0.7507 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.444, allocations: 12 kB / 0.7507 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.444, allocations: 0 / 0.7507 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/1.444, allocations: 3.984 kB / 0.7507 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/1.462, allocations: 5.914 MB / 0.7565 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.462, allocations: 0 / 0.7565 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/1.462, allocations: 103.8 kB / 0.7566 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006075/1.469, allocations: 1.781 MB / 0.7583 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/1.469, allocations: 11.97 kB / 0.7583 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.484, allocations: 5.989 MB / 0.7642 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.484, allocations: 0 / 0.7642 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01572/1.499, allocations: 5.296 MB / 0.7693 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01712/1.517, allocations: 6.426 MB / 0.7756 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.517, allocations: 207.4 kB / 0.7758 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005699/1.518, allocations: 4 kB / 0.7758 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.519, allocations: 139.9 kB / 0.776 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/1.52, allocations: 112.5 kB / 0.7761 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.52, allocations: 20 kB / 0.7761 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001169/1.521, allocations: 0.5489 MB / 0.7766 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003711/1.525, allocations: 0.6278 MB / 0.7772 GB, free: 14.57 MB / 0.5105 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.0003443/1.525, allocations: 143 kB / 0.7774 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.535, allocations: 3.52 MB / 0.7808 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.535, allocations: 0 / 0.7808 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004434/1.54, allocations: 1.456 MB / 0.7822 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.541, allocations: 72.19 kB / 0.7823 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/1.547, allocations: 1.647 MB / 0.7839 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.548, allocations: 1.154 MB / 0.785 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of SimCode: time 1.774e-06/1.548, allocations: 0 / 0.785 GB, free: 6.473 MB / 0.5105 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)