Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_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.002153/0.002153, allocations: 183.2 kB / 7.461 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.075/1.075, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008231/0.0008231, allocations: 97.62 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3772/0.3772, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1237/0.501, allocations: 75.49 MB / 484.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.7614, allocations: 69.34 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.8681, allocations: 99.65 MB / 0.6382 GB, free: 5.234 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.8684, allocations: 83.95 kB / 0.6382 GB, free: 5.152 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.07678/0.9452, allocations: 29.97 MB / 0.6675 GB, free: 6.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.9452, allocations: 12 kB / 0.6675 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.9487, allocations: 0.5875 MB / 0.6681 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.9503, allocations: 0.8303 MB / 0.6689 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.9505, allocations: 206.4 kB / 0.6691 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.9506, allocations: 52 kB / 0.6692 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.9522, allocations: 0.8631 MB / 0.67 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.9537, allocations: 0.9 MB / 0.6709 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.9537, allocations: 8 kB / 0.6709 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/0.9538, allocations: 4 kB / 0.6709 GB, free: 3.359 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.9539, allocations: 16 kB / 0.6709 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/1.106, allocations: 3.699 MB / 0.6745 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/1.107, allocations: 0.6393 MB / 0.6751 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/1.107, allocations: 0.5973 MB / 0.6757 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/1.108, allocations: 21.91 kB / 0.6757 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/1.108, allocations: 48.41 kB / 0.6758 GB, free: 141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 2.946e-06/1.108, allocations: 0 / 0.6758 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.0114/1.119, allocations: 4.351 MB / 0.68 GB, free: 141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.119, allocations: 141.5 kB / 0.6802 GB, free: 140.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/1.12, allocations: 0.7838 MB / 0.6809 GB, free: 140.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.12, allocations: 26.33 kB / 0.681 GB, free: 140.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/1.12, allocations: 327.4 kB / 0.6813 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/1.121, allocations: 338.1 kB / 0.6816 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/1.121, allocations: 5.156 kB / 0.6816 GB, free: 140.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/1.121, allocations: 350.9 kB / 0.6819 GB, free: 140 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007214/1.122, allocations: 483 kB / 0.6824 GB, free: 140 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/1.122, allocations: 0.5912 MB / 0.683 GB, free: 139.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/1.123, allocations: 0.5246 MB / 0.6835 GB, free: 139.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.123, allocations: 0 / 0.6835 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01185/1.135, allocations: 4.533 MB / 0.6879 GB, free: 139.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.135, allocations: 0.8856 MB / 0.6888 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.135, allocations: 3.719 kB / 0.6888 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/1.141, allocations: 1.831 MB / 0.6906 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/1.141, allocations: 164.3 kB / 0.6907 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.155, allocations: 7.679 MB / 0.6982 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.157, allocations: 195 kB / 0.6984 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.157, allocations: 33.75 kB / 0.6984 GB, free: 135.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/1.157, allocations: 3.938 kB / 0.6984 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01277/1.17, allocations: 4.38 MB / 0.7027 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.17, allocations: 2.438 kB / 0.7027 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006097/1.176, allocations: 1.821 MB / 0.7045 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/1.177, allocations: 160 kB / 0.7047 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.19, allocations: 7.689 MB / 0.7122 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.192, allocations: 180.9 kB / 0.7123 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/1.192, allocations: 34.12 kB / 0.7124 GB, free: 132.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003186/1.192, allocations: 150.3 kB / 0.7125 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/1.193, allocations: 129.1 kB / 0.7126 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.204, allocations: 4.464 MB / 0.717 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.204, allocations: 11.12 kB / 0.717 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.204, allocations: 3.75 kB / 0.717 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.204, allocations: 3.797 kB / 0.717 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.217, allocations: 6.102 MB / 0.723 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.217, allocations: 0 / 0.723 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/1.218, allocations: 126.8 kB / 0.7231 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/1.223, allocations: 1.722 MB / 0.7248 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.223, allocations: 8.688 kB / 0.7248 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.235, allocations: 5.671 MB / 0.7303 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.235, allocations: 1.969 kB / 0.7303 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0138/1.249, allocations: 5.276 MB / 0.7355 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01409/1.263, allocations: 6.459 MB / 0.7418 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/1.263, allocations: 218.3 kB / 0.742 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/1.264, allocations: 4 kB / 0.742 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.265, allocations: 137.6 kB / 0.7421 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/1.265, allocations: 117.4 kB / 0.7422 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/1.265, allocations: 31.23 kB / 0.7423 GB, free: 118 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007029/1.266, allocations: 0.5963 MB / 0.7429 GB, free: 117.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002922/1.269, allocations: 0.6565 MB / 0.7435 GB, free: 116.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/1.269, allocations: 142.4 kB / 0.7436 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00933/1.279, allocations: 3.953 MB / 0.7475 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.279, allocations: 4.25 kB / 0.7475 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003917/1.283, allocations: 1.512 MB / 0.749 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/1.283, allocations: 79.83 kB / 0.749 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/1.289, allocations: 1.916 MB / 0.7509 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00079/1.29, allocations: 1.22 MB / 0.7521 GB, free: 108.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/1.29, allocations: 4 kB / 0.7521 GB, free: 108.8 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)