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"}) [: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 4.0.0+maint.om/package.mo): time 0.00366/0.003659, allocations: 180.2 kB / 7.458 MB, free: 2.188 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.335/1.335, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.001009/0.001009, allocations: 96.8 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4779/0.4779, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1674/0.6454, allocations: 75.5 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.9843, allocations: 69.35 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/1.115, allocations: 97.79 MB / 0.6363 GB, free: 7.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.115, allocations: 83.94 kB / 0.6364 GB, free: 6.922 MB / 458.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.08152/1.197, allocations: 27.1 MB / 0.6629 GB, free: 11.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.197, allocations: 15.94 kB / 0.6629 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/1.201, allocations: 0.5797 MB / 0.6634 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/1.203, allocations: 0.763 MB / 0.6642 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/1.203, allocations: 198.5 kB / 0.6644 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/1.203, allocations: 44 kB / 0.6644 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/1.205, allocations: 0.8475 MB / 0.6652 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.207, allocations: 0.8524 MB / 0.6661 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.207, allocations: 0 / 0.6661 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.207, allocations: 0 / 0.6661 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/1.207, allocations: 20 kB / 0.6661 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/1.214, allocations: 3.058 MB / 0.6691 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.216, allocations: 0.5896 MB / 0.6697 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/1.217, allocations: 0.5699 MB / 0.6702 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.217, allocations: 24.61 kB / 0.6702 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/1.217, allocations: 51.33 kB / 0.6703 GB, free: 3.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.837e-06/1.217, allocations: 0 / 0.6703 GB, free: 3.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.2408/1.458, allocations: 4.432 MB / 0.6746 GB, free: 141.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/1.458, allocations: 85.8 kB / 0.6747 GB, free: 141.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.459, allocations: 0.7071 MB / 0.6754 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003979/1.46, allocations: 25.7 kB / 0.6754 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.46, allocations: 321.5 kB / 0.6757 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/1.46, allocations: 315.8 kB / 0.676 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/1.46, allocations: 0 / 0.676 GB, free: 140.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/1.461, allocations: 348.2 kB / 0.6764 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/1.461, allocations: 438.6 kB / 0.6768 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/1.462, allocations: 0.5419 MB / 0.6773 GB, free: 140.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/1.463, allocations: 481.7 kB / 0.6778 GB, free: 140.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.463, allocations: 0 / 0.6778 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01331/1.476, allocations: 4.575 MB / 0.6822 GB, free: 140.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.476, allocations: 0.7966 MB / 0.683 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.476, allocations: 4.438 kB / 0.683 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/1.483, allocations: 1.81 MB / 0.6848 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/1.483, allocations: 119.9 kB / 0.6849 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.499, allocations: 6.81 MB / 0.6915 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.5, allocations: 188.3 kB / 0.6917 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.501, allocations: 33.66 kB / 0.6918 GB, free: 137.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.501, allocations: 3.688 kB / 0.6918 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01391/1.515, allocations: 4.431 MB / 0.6961 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.515, allocations: 7.406 kB / 0.6961 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/1.521, allocations: 1.817 MB / 0.6979 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/1.522, allocations: 113.6 kB / 0.698 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.539, allocations: 6.81 MB / 0.7046 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.541, allocations: 174.7 kB / 0.7048 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.541, allocations: 32.09 kB / 0.7048 GB, free: 135.8 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.000368/1.541, allocations: 125.3 kB / 0.7049 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/1.542, allocations: 117.3 kB / 0.7051 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.555, allocations: 4.509 MB / 0.7095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.555, allocations: 10.12 kB / 0.7095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.555, allocations: 7.906 kB / 0.7095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/1.555, allocations: 3.938 kB / 0.7095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.571, allocations: 5.907 MB / 0.7152 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.571, allocations: 0 / 0.7152 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/1.572, allocations: 97.08 kB / 0.7153 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005526/1.578, allocations: 1.792 MB / 0.7171 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/1.578, allocations: 7.344 kB / 0.7171 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.592, allocations: 5.987 MB / 0.7229 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.592, allocations: 3.844 kB / 0.7229 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01591/1.608, allocations: 5.301 MB / 0.7281 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01784/1.626, allocations: 6.433 MB / 0.7344 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/1.626, allocations: 201.4 kB / 0.7346 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/1.627, allocations: 4.75 kB / 0.7346 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.628, allocations: 142.9 kB / 0.7347 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/1.629, allocations: 113 kB / 0.7348 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.629, allocations: 20 kB / 0.7349 GB, free: 125.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009039/1.63, allocations: 0.5464 MB / 0.7354 GB, free: 124.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003691/1.633, allocations: 0.6252 MB / 0.736 GB, free: 124 MB / 490.7 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 () * 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.0003995/1.634, allocations: 137.1 kB / 0.7361 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01061/1.644, allocations: 3.517 MB / 0.7396 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.644, allocations: 0 / 0.7396 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004308/1.649, allocations: 1.446 MB / 0.741 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/1.65, allocations: 71.81 kB / 0.7411 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/1.655, allocations: 1.648 MB / 0.7427 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009114/1.656, allocations: 1.159 MB / 0.7438 GB, free: 116.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/1.656, allocations: 4 kB / 0.7438 GB, free: 116.9 MB / 490.7 MB (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)