Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_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.002173/0.002173, allocations: 179.7 kB / 7.458 MB, free: 2.5 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.095/1.095, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008115/0.0008115, allocations: 109.9 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3708/0.3708, allocations: 78.1 MB / 409 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1214/0.4922, allocations: 75.49 MB / 484.5 MB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.7488, allocations: 69.35 MB / 0.5409 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.852, allocations: 97.78 MB / 0.6363 GB, free: 7.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.8522, allocations: 91.92 kB / 0.6364 GB, free: 7.109 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.06813/0.9204, allocations: 27.09 MB / 0.6629 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.9204, allocations: 8 kB / 0.6629 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.9236, allocations: 0.5836 MB / 0.6635 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.9249, allocations: 0.763 MB / 0.6642 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.9251, allocations: 206.5 kB / 0.6644 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.9253, allocations: 40 kB / 0.6644 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001424/0.9267, allocations: 0.8474 MB / 0.6653 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.9281, allocations: 0.8524 MB / 0.6661 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.9281, allocations: 0 / 0.6661 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.9282, allocations: 0 / 0.6661 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.9282, allocations: 19.98 kB / 0.6661 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.9331, allocations: 3.05 MB / 0.6691 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.9341, allocations: 0.5934 MB / 0.6697 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.9348, allocations: 0.5738 MB / 0.6702 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.9349, allocations: 20.67 kB / 0.6703 GB, free: 4.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.935, allocations: 51.33 kB / 0.6703 GB, free: 3.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 1.974e-06/0.935, allocations: 0 / 0.6703 GB, free: 3.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.1572/1.092, allocations: 4.435 MB / 0.6746 GB, free: 141.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/1.092, allocations: 89.08 kB / 0.6747 GB, free: 141.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/1.093, allocations: 0.7062 MB / 0.6754 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.093, allocations: 25.7 kB / 0.6754 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.093, allocations: 322.4 kB / 0.6757 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/1.094, allocations: 311.1 kB / 0.676 GB, free: 141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/1.094, allocations: 0 / 0.676 GB, free: 141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/1.094, allocations: 348.6 kB / 0.6764 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/1.094, allocations: 445.7 kB / 0.6768 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/1.095, allocations: 0.5354 MB / 0.6773 GB, free: 140.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/1.096, allocations: 483.9 kB / 0.6778 GB, free: 140.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.096, allocations: 1.594 kB / 0.6778 GB, free: 140.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01215/1.108, allocations: 4.578 MB / 0.6823 GB, free: 140.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/1.108, allocations: 0.7868 MB / 0.683 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.108, allocations: 5.25 kB / 0.683 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/1.113, allocations: 1.817 MB / 0.6848 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/1.114, allocations: 121.4 kB / 0.6849 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.127, allocations: 6.799 MB / 0.6916 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.129, allocations: 188 kB / 0.6917 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/1.129, allocations: 35.92 kB / 0.6918 GB, free: 138 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/1.129, allocations: 4.188 kB / 0.6918 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01203/1.141, allocations: 4.434 MB / 0.6961 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.141, allocations: 3.969 kB / 0.6961 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/1.147, allocations: 1.82 MB / 0.6979 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/1.147, allocations: 112 kB / 0.698 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.162, allocations: 6.811 MB / 0.7046 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.163, allocations: 178.7 kB / 0.7048 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/1.164, allocations: 28.81 kB / 0.7048 GB, free: 136 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.0002884/1.164, allocations: 121.2 kB / 0.705 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/1.164, allocations: 113.9 kB / 0.7051 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.176, allocations: 4.511 MB / 0.7095 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.177, allocations: 12.48 kB / 0.7095 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.177, allocations: 0 / 0.7095 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/1.177, allocations: 2.672 kB / 0.7095 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/1.19, allocations: 5.917 MB / 0.7153 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.19, allocations: 0 / 0.7153 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/1.191, allocations: 95.14 kB / 0.7154 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/1.196, allocations: 1.789 MB / 0.7171 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/1.196, allocations: 2.75 kB / 0.7171 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.208, allocations: 5.992 MB / 0.723 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.208, allocations: 6.344 kB / 0.723 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01399/1.222, allocations: 5.298 MB / 0.7281 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01536/1.238, allocations: 6.424 MB / 0.7344 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/1.238, allocations: 213.7 kB / 0.7346 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.238, allocations: 4 kB / 0.7346 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.24, allocations: 139.1 kB / 0.7348 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.24, allocations: 111.8 kB / 0.7349 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/1.24, allocations: 24.66 kB / 0.7349 GB, free: 125.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006247/1.241, allocations: 0.5498 MB / 0.7354 GB, free: 125 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002791/1.243, allocations: 0.6214 MB / 0.736 GB, free: 124.4 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.0002628/1.244, allocations: 131.4 kB / 0.7362 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008772/1.252, allocations: 3.524 MB / 0.7396 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.252, allocations: 0 / 0.7396 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/1.256, allocations: 1.441 MB / 0.741 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/1.257, allocations: 75.27 kB / 0.7411 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.261, allocations: 1.649 MB / 0.7427 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/1.262, allocations: 1.162 MB / 0.7438 GB, free: 117.3 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/1.262, allocations: 0 / 0.7438 GB, free: 117.3 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)