Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_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.001732/0.001732, allocations: 186.6 kB / 7.457 MB, free: 2.512 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.066/1.066, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008182/0.0008182, allocations: 99.31 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.3862/0.3862, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1166/0.5028, allocations: 75.5 MB / 484.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.7362, allocations: 69.34 MB / 0.5408 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.8386, allocations: 100 MB / 0.6385 GB, free: 4.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.8388, allocations: 83.94 kB / 0.6386 GB, free: 4.828 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.0804/0.9192, allocations: 31.24 MB / 0.6691 GB, free: 5.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.9193, allocations: 12 kB / 0.6691 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.9226, allocations: 0.5875 MB / 0.6697 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.9242, allocations: 0.8343 MB / 0.6705 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.9244, allocations: 236.1 kB / 0.6707 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.9246, allocations: 47.91 kB / 0.6708 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/0.9261, allocations: 0.8631 MB / 0.6716 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.9277, allocations: 0.8993 MB / 0.6725 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.9277, allocations: 3.938 kB / 0.6725 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/0.9278, allocations: 0 / 0.6725 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.9279, allocations: 20 kB / 0.6725 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1879/1.116, allocations: 3.625 MB / 0.6761 GB, free: 75.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.117, allocations: 0.6553 MB / 0.6767 GB, free: 75.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/1.118, allocations: 0.5988 MB / 0.6773 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/1.118, allocations: 21.33 kB / 0.6773 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009085/1.119, allocations: 0.6886 MB / 0.678 GB, free: 75.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.826e-06/1.119, allocations: 0 / 0.678 GB, free: 75.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01202/1.131, allocations: 4.502 MB / 0.6824 GB, free: 75.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/1.131, allocations: 113.8 kB / 0.6825 GB, free: 75.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/1.131, allocations: 0.7891 MB / 0.6833 GB, free: 75.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/1.132, allocations: 25.7 kB / 0.6833 GB, free: 75.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.132, allocations: 332.1 kB / 0.6836 GB, free: 74.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.132, allocations: 348.8 kB / 0.6839 GB, free: 74.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/1.132, allocations: 5.156 kB / 0.6839 GB, free: 74.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/1.132, allocations: 353 kB / 0.6843 GB, free: 74.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/1.133, allocations: 0.4908 MB / 0.6847 GB, free: 74.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/1.134, allocations: 0.5954 MB / 0.6853 GB, free: 74.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/1.134, allocations: 0.5333 MB / 0.6858 GB, free: 74.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.134, allocations: 0 / 0.6858 GB, free: 74.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01219/1.147, allocations: 4.593 MB / 0.6903 GB, free: 73.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.147, allocations: 11.11 kB / 0.6903 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.147, allocations: 3.938 kB / 0.6903 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005975/1.153, allocations: 1.869 MB / 0.6922 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/1.154, allocations: 190.6 kB / 0.6924 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.168, allocations: 6.735 MB / 0.6989 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.17, allocations: 203.6 kB / 0.6991 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.17, allocations: 39.56 kB / 0.6992 GB, free: 72.17 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 aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 94 * 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: 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.17, allocations: 147.7 kB / 0.6993 GB, free: 72.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.171, allocations: 126.7 kB / 0.6994 GB, free: 71.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.184, allocations: 4.607 MB / 0.7039 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.184, allocations: 10.53 kB / 0.7039 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.184, allocations: 1.25 kB / 0.7039 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.184, allocations: 3.844 kB / 0.7039 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.197, allocations: 6.163 MB / 0.71 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.197, allocations: 4 kB / 0.71 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/1.198, allocations: 110.4 kB / 0.7101 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/1.203, allocations: 1.813 MB / 0.7118 GB, free: 66.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.203, allocations: 11.03 kB / 0.7118 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.216, allocations: 7.554 MB / 0.7192 GB, free: 61.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.216, allocations: 0 / 0.7192 GB, free: 61.26 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01307/1.229, allocations: 5.436 MB / 0.7245 GB, free: 57.72 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01432/1.244, allocations: 6.624 MB / 0.731 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/1.244, allocations: 219.8 kB / 0.7312 GB, free: 53.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.244, allocations: 8.484 kB / 0.7312 GB, free: 53.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.246, allocations: 148.5 kB / 0.7314 GB, free: 53.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.246, allocations: 119.7 kB / 0.7315 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/1.246, allocations: 31.25 kB / 0.7315 GB, free: 53.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006681/1.247, allocations: 0.6017 MB / 0.7321 GB, free: 52.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001763/1.248, allocations: 421.4 kB / 0.7325 GB, free: 52.29 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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/1.249, allocations: 134.7 kB / 0.7326 GB, free: 52.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004994/1.254, allocations: 2.164 MB / 0.7347 GB, free: 50.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.254, allocations: 3.938 kB / 0.7347 GB, free: 50.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.258, allocations: 1.65 MB / 0.7364 GB, free: 49.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/1.258, allocations: 80.23 kB / 0.7364 GB, free: 49.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/1.262, allocations: 1.829 MB / 0.7382 GB, free: 48.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/1.263, allocations: 1.225 MB / 0.7394 GB, free: 47 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/1.263, allocations: 0 / 0.7394 GB, free: 47 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)