Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_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.00245/0.00245, 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.306/1.306, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009736/0.0009736, allocations: 95.09 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4703/0.4703, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.161/0.6312, allocations: 75.49 MB / 484.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/1.021, allocations: 69.34 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/1.153, allocations: 100 MB / 0.6385 GB, free: 4.668 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.154, allocations: 87.95 kB / 0.6386 GB, free: 4.582 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.0937/1.247, allocations: 31.25 MB / 0.6691 GB, free: 5.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.247, allocations: 8 kB / 0.6691 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/1.252, allocations: 0.5875 MB / 0.6697 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/1.254, allocations: 0.8343 MB / 0.6705 GB, free: 3.582 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/1.255, allocations: 232.1 kB / 0.6707 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004435/1.255, allocations: 55.91 kB / 0.6708 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/1.257, allocations: 0.8592 MB / 0.6716 GB, free: 2.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.26, allocations: 0.8954 MB / 0.6725 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.26, allocations: 0 / 0.6725 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/1.26, allocations: 0 / 0.6725 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.26, allocations: 23.94 kB / 0.6725 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2504/1.51, allocations: 3.619 MB / 0.676 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/1.512, allocations: 0.662 MB / 0.6767 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009243/1.513, allocations: 0.5923 MB / 0.6772 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/1.513, allocations: 19.73 kB / 0.6773 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/1.514, allocations: 0.6961 MB / 0.6779 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 5.711e-06/1.514, allocations: 0 / 0.6779 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01329/1.527, allocations: 4.498 MB / 0.6823 GB, free: 140.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.527, allocations: 118 kB / 0.6824 GB, free: 140.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/1.529, allocations: 0.7901 MB / 0.6832 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.529, allocations: 29.73 kB / 0.6832 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/1.529, allocations: 331.1 kB / 0.6836 GB, free: 139.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/1.53, allocations: 349.7 kB / 0.6839 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/1.53, allocations: 0 / 0.6839 GB, free: 139.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/1.53, allocations: 345.1 kB / 0.6842 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/1.531, allocations: 0.4886 MB / 0.6847 GB, free: 139.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/1.532, allocations: 0.6009 MB / 0.6853 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/1.533, allocations: 0.5312 MB / 0.6858 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.533, allocations: 4 kB / 0.6858 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01388/1.546, allocations: 4.595 MB / 0.6903 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.547, allocations: 6.406 kB / 0.6903 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.547, allocations: 10.28 kB / 0.6903 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006643/1.553, allocations: 1.872 MB / 0.6921 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.554, allocations: 194 kB / 0.6923 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/1.571, allocations: 6.735 MB / 0.6989 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.573, allocations: 203.3 kB / 0.6991 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.574, allocations: 33.5 kB / 0.6991 GB, free: 137.2 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.0003445/1.574, allocations: 158.1 kB / 0.6993 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/1.574, allocations: 122.7 kB / 0.6994 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.589, allocations: 4.602 MB / 0.7039 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/1.589, allocations: 14.91 kB / 0.7039 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/1.59, allocations: 11.81 kB / 0.7039 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-05/1.59, allocations: 3.281 kB / 0.7039 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.607, allocations: 6.151 MB / 0.7099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.607, allocations: 6.891 kB / 0.7099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009443/1.608, allocations: 111.9 kB / 0.71 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005615/1.614, allocations: 1.816 MB / 0.7118 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/1.614, allocations: 6.547 kB / 0.7118 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.629, allocations: 7.549 MB / 0.7192 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.629, allocations: 9.75 kB / 0.7192 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01517/1.644, allocations: 5.434 MB / 0.7245 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01733/1.662, allocations: 6.623 MB / 0.731 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/1.662, allocations: 219.2 kB / 0.7312 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/1.663, allocations: 13.5 kB / 0.7312 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.665, allocations: 149.7 kB / 0.7313 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/1.665, allocations: 123.3 kB / 0.7315 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.665, allocations: 24.64 kB / 0.7315 GB, free: 127.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001006/1.666, allocations: 0.6078 MB / 0.7321 GB, free: 126.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002284/1.669, allocations: 426.2 kB / 0.7325 GB, free: 126.7 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.0003563/1.669, allocations: 130.2 kB / 0.7326 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00573/1.675, allocations: 2.16 MB / 0.7347 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.675, allocations: 0 / 0.7347 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004591/1.679, allocations: 1.646 MB / 0.7363 GB, free: 123.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.681, allocations: 83.61 kB / 0.7364 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/1.686, allocations: 1.829 MB / 0.7382 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.687, allocations: 1.221 MB / 0.7394 GB, free: 120.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.687, allocations: 0 / 0.7394 GB, free: 120.4 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)