Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_dev_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.003209/0.003209, allocations: 185.6 kB / 7.459 MB, free: 2.52 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.29/1.29, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009185/0.0009183, allocations: 99.78 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4943/0.4943, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/0.661, allocations: 75.66 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/1.049, allocations: 69.49 MB / 0.542 GB, free: 21.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/1.186, allocations: 100.3 MB / 0.6399 GB, free: 3.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/1.187, allocations: 83.94 kB / 0.6399 GB, free: 3.648 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.09009/1.277, allocations: 30.24 MB / 0.6695 GB, free: 5.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.277, allocations: 8 kB / 0.6695 GB, free: 5.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/1.281, allocations: 0.5914 MB / 0.67 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/1.284, allocations: 0.8342 MB / 0.6709 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/1.284, allocations: 206.4 kB / 0.6711 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/1.284, allocations: 55.98 kB / 0.6711 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002091/1.286, allocations: 0.8631 MB / 0.672 GB, free: 2.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.288, allocations: 0.8961 MB / 0.6728 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.288, allocations: 0 / 0.6728 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.289, allocations: 4 kB / 0.6728 GB, free: 1.598 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.289, allocations: 20 kB / 0.6729 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3352/1.624, allocations: 3.693 MB / 0.6765 GB, free: 74.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/1.625, allocations: 0.6379 MB / 0.6771 GB, free: 74.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/1.626, allocations: 0.6005 MB / 0.6777 GB, free: 74.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/1.626, allocations: 22.19 kB / 0.6777 GB, free: 74.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/1.626, allocations: 44.22 kB / 0.6777 GB, free: 74.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.186e-06/1.626, allocations: 2.734 kB / 0.6777 GB, free: 74.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.0125/1.638, allocations: 4.363 MB / 0.682 GB, free: 74.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.638, allocations: 140.4 kB / 0.6821 GB, free: 74.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.64, allocations: 0.7789 MB / 0.6829 GB, free: 74.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.64, allocations: 25.7 kB / 0.6829 GB, free: 74.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/1.64, allocations: 329.1 kB / 0.6832 GB, free: 73.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/1.641, allocations: 338.3 kB / 0.6836 GB, free: 73.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/1.641, allocations: 4 kB / 0.6836 GB, free: 73.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/1.641, allocations: 353.1 kB / 0.6839 GB, free: 73.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000833/1.642, allocations: 483 kB / 0.6844 GB, free: 73.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/1.642, allocations: 0.5897 MB / 0.6849 GB, free: 73.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/1.643, allocations: 0.5218 MB / 0.6854 GB, free: 73.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.643, allocations: 0 / 0.6854 GB, free: 73.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0133/1.657, allocations: 4.535 MB / 0.6899 GB, free: 72.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.657, allocations: 0.8819 MB / 0.6907 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.657, allocations: 3.062 kB / 0.6907 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006297/1.663, allocations: 1.838 MB / 0.6925 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.664, allocations: 165.2 kB / 0.6927 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.68, allocations: 7.67 MB / 0.7002 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.682, allocations: 197.2 kB / 0.7004 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/1.682, allocations: 39.12 kB / 0.7004 GB, free: 69.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.682, allocations: 3.75 kB / 0.7004 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/1.696, allocations: 4.373 MB / 0.7047 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.697, allocations: 2.031 kB / 0.7047 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006825/1.703, allocations: 1.823 MB / 0.7065 GB, free: 68.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/1.704, allocations: 166.1 kB / 0.7066 GB, free: 68.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.719, allocations: 7.689 MB / 0.7141 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/1.721, allocations: 173.8 kB / 0.7143 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.721, allocations: 35.3 kB / 0.7143 GB, free: 62.81 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.0004382/1.722, allocations: 163.1 kB / 0.7145 GB, free: 62.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/1.722, allocations: 122.5 kB / 0.7146 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.734, allocations: 4.465 MB / 0.719 GB, free: 59.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/1.734, allocations: 15.8 kB / 0.719 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.734, allocations: 3.938 kB / 0.719 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.734, allocations: 3.703 kB / 0.719 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.748, allocations: 6.087 MB / 0.7249 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.748, allocations: 0 / 0.7249 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/1.749, allocations: 127.6 kB / 0.725 GB, free: 55.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005214/1.754, allocations: 1.726 MB / 0.7267 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.755, allocations: 9.438 kB / 0.7267 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.766, allocations: 5.671 MB / 0.7323 GB, free: 51.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.767, allocations: 0 / 0.7323 GB, free: 51.04 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01453/1.781, allocations: 5.276 MB / 0.7374 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0156/1.797, allocations: 6.456 MB / 0.7437 GB, free: 43.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/1.797, allocations: 219 kB / 0.7439 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.798, allocations: 5.594 kB / 0.7439 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.799, allocations: 142.6 kB / 0.7441 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/1.799, allocations: 112.9 kB / 0.7442 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/1.799, allocations: 25.11 kB / 0.7442 GB, free: 43.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007952/1.8, allocations: 0.6003 MB / 0.7448 GB, free: 42.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003059/1.803, allocations: 0.6647 MB / 0.7455 GB, free: 42.04 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.0003288/1.804, allocations: 135.1 kB / 0.7456 GB, free: 41.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009816/1.813, allocations: 3.957 MB / 0.7494 GB, free: 38.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.814, allocations: 0 / 0.7494 GB, free: 38.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.818, allocations: 1.51 MB / 0.7509 GB, free: 37.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.819, allocations: 84.64 kB / 0.751 GB, free: 37.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/1.824, allocations: 1.917 MB / 0.7529 GB, free: 35.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/1.824, allocations: 1.224 MB / 0.7541 GB, free: 34.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.824, allocations: 0 / 0.7541 GB, free: 34.62 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)