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"}) [: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.002394/0.002394, allocations: 186.3 kB / 7.46 MB, free: 2.508 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.372/1.372, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001033/0.001033, allocations: 105.8 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.472/0.472, allocations: 78.92 MB / 409.8 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.6494, allocations: 75.66 MB / 485.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/1.029, allocations: 69.5 MB / 0.542 GB, free: 20.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/1.161, allocations: 98.39 MB / 0.638 GB, free: 5.574 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.162, allocations: 79.95 kB / 0.6381 GB, free: 5.496 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.07709/1.239, allocations: 27.38 MB / 0.6648 GB, free: 9.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.239, allocations: 12 kB / 0.6649 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/1.243, allocations: 0.5719 MB / 0.6654 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/1.245, allocations: 0.7592 MB / 0.6662 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/1.246, allocations: 206.5 kB / 0.6664 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.246, allocations: 51.94 kB / 0.6664 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002264/1.248, allocations: 0.8397 MB / 0.6672 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.25, allocations: 0.8525 MB / 0.6681 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.25, allocations: 0 / 0.6681 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/1.25, allocations: 0 / 0.6681 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/1.25, allocations: 20 kB / 0.6681 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00711/1.257, allocations: 3.05 MB / 0.6711 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.259, allocations: 0.5972 MB / 0.6716 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/1.26, allocations: 0.5661 MB / 0.6722 GB, free: 2.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/1.26, allocations: 24.66 kB / 0.6722 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.26, allocations: 43.34 kB / 0.6723 GB, free: 2.051 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.459e-06/1.26, allocations: 4 kB / 0.6723 GB, free: 2.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.249/1.509, allocations: 4.431 MB / 0.6766 GB, free: 141.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.509, allocations: 89.77 kB / 0.6767 GB, free: 141.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.51, allocations: 0.7094 MB / 0.6774 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/1.51, allocations: 25.7 kB / 0.6774 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/1.511, allocations: 318 kB / 0.6777 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.511, allocations: 316.6 kB / 0.678 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/1.511, allocations: 0 / 0.678 GB, free: 140.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/1.511, allocations: 346.1 kB / 0.6783 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/1.512, allocations: 442.6 kB / 0.6787 GB, free: 140.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/1.513, allocations: 0.5375 MB / 0.6793 GB, free: 140.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/1.513, allocations: 488 kB / 0.6797 GB, free: 140.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.513, allocations: 0 / 0.6797 GB, free: 140.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01279/1.526, allocations: 4.576 MB / 0.6842 GB, free: 140.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/1.526, allocations: 0.789 MB / 0.685 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.526, allocations: 2.562 kB / 0.685 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005699/1.532, allocations: 1.828 MB / 0.6868 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.533, allocations: 116.7 kB / 0.6869 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.548, allocations: 6.803 MB / 0.6935 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.549, allocations: 191.8 kB / 0.6937 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.55, allocations: 29.27 kB / 0.6937 GB, free: 137.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.55, allocations: 7.031 kB / 0.6937 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01445/1.564, allocations: 4.428 MB / 0.6981 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.564, allocations: 2.25 kB / 0.6981 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006274/1.57, allocations: 1.815 MB / 0.6998 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/1.571, allocations: 113.1 kB / 0.6999 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/1.586, allocations: 6.823 MB / 0.7066 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.588, allocations: 172.6 kB / 0.7068 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.588, allocations: 27.25 kB / 0.7068 GB, free: 135.6 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.0003156/1.588, allocations: 121.5 kB / 0.7069 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.589, allocations: 117.9 kB / 0.707 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.602, allocations: 4.512 MB / 0.7114 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.602, allocations: 11.78 kB / 0.7114 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.602, allocations: 0 / 0.7114 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/1.602, allocations: 7.656 kB / 0.7114 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.617, allocations: 5.914 MB / 0.7172 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.618, allocations: 0 / 0.7172 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/1.618, allocations: 97.97 kB / 0.7173 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005322/1.624, allocations: 1.782 MB / 0.7191 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/1.624, allocations: 6.062 kB / 0.7191 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/1.637, allocations: 5.998 MB / 0.7249 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.637, allocations: 2.656 kB / 0.7249 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01572/1.653, allocations: 5.296 MB / 0.7301 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01517/1.668, allocations: 6.43 MB / 0.7364 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/1.668, allocations: 213.6 kB / 0.7366 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.669, allocations: 4 kB / 0.7366 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.67, allocations: 137.2 kB / 0.7367 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/1.67, allocations: 112.5 kB / 0.7368 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/1.67, allocations: 24 kB / 0.7368 GB, free: 123.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006703/1.671, allocations: 0.5466 MB / 0.7374 GB, free: 123.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003217/1.674, allocations: 0.6175 MB / 0.738 GB, free: 122.6 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.0003765/1.675, allocations: 139.2 kB / 0.7381 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.685, allocations: 3.517 MB / 0.7415 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.685, allocations: 0 / 0.7415 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004153/1.689, allocations: 1.448 MB / 0.743 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/1.69, allocations: 72.44 kB / 0.743 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/1.694, allocations: 1.655 MB / 0.7446 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/1.695, allocations: 1.153 MB / 0.7458 GB, free: 115.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.914e-06/1.695, allocations: 0 / 0.7458 GB, free: 115.4 MB / 490.7 MB (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)