Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002854/0.002854, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 96.33 kB / 261.1 MB, free: 13.47 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06776/0.06776, allocations: 12.19 MB / 321.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2867/0.2867, allocations: 78.05 MB / 449.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2768/0.5635, allocations: 76.1 MB / 0.5137 GB, free: 30.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.6894, allocations: 69.22 MB / 0.5813 GB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/1.09, allocations: 101.6 MB / 0.6805 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.091, allocations: 85.69 kB / 0.6806 GB, free: 6.762 MB / 426.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.08834/1.179, allocations: 30.45 MB / 0.7103 GB, free: 13.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.823e-05/1.179, allocations: 11.94 kB / 0.7103 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/1.183, allocations: 0.5867 MB / 0.7109 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/1.186, allocations: 0.8345 MB / 0.7117 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/1.186, allocations: 232.1 kB / 0.7119 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/1.187, allocations: 51.44 kB / 0.712 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/1.189, allocations: 0.8594 MB / 0.7128 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/1.19, allocations: 0.8983 MB / 0.7137 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.19, allocations: 3.938 kB / 0.7137 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.19, allocations: 7.984 kB / 0.7137 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/1.19, allocations: 16 kB / 0.7137 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007943/1.198, allocations: 3.632 MB / 0.7173 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.2, allocations: 0.6605 MB / 0.7179 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/1.201, allocations: 0.5917 MB / 0.7185 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/1.201, allocations: 20.12 kB / 0.7185 GB, free: 7.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/1.202, allocations: 0.6924 MB / 0.7192 GB, free: 6.719 MB / 458.7 MB Notification: Performance of pre-optimization done (n=102): time 5.951e-06/1.202, allocations: 4 kB / 0.7192 GB, free: 6.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.01433/1.217, allocations: 4.497 MB / 0.7236 GB, free: 2.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/1.217, allocations: 115.8 kB / 0.7237 GB, free: 2.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/1.218, allocations: 0.7894 MB / 0.7244 GB, free: 2.059 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003429/1.219, allocations: 25.7 kB / 0.7245 GB, free: 2.027 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/1.219, allocations: 329.3 kB / 0.7248 GB, free: 1.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/1.219, allocations: 354.4 kB / 0.7251 GB, free: 1.441 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/1.22, allocations: 0 / 0.7251 GB, free: 1.441 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/1.22, allocations: 347.4 kB / 0.7255 GB, free: 1.113 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/1.221, allocations: 497.4 kB / 0.7259 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/1.221, allocations: 0.6061 MB / 0.7265 GB, free: 480 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/1.222, allocations: 0.5379 MB / 0.727 GB, free: 172 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.222, allocations: 0 / 0.727 GB, free: 172 kB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01446/1.237, allocations: 4.594 MB / 0.7315 GB, free: 12.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.237, allocations: 4 kB / 0.7315 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.237, allocations: 4 kB / 0.7315 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007195/1.244, allocations: 1.875 MB / 0.7334 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.246, allocations: 187.7 kB / 0.7335 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.262, allocations: 6.738 MB / 0.7401 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/1.265, allocations: 211 kB / 0.7403 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/1.265, allocations: 35.98 kB / 0.7404 GB, free: 4.215 MB / 474.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.0004764/1.265, allocations: 159.2 kB / 0.7405 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/1.266, allocations: 122.5 kB / 0.7406 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.279, allocations: 4.596 MB / 0.7451 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.28, allocations: 12 kB / 0.7451 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.28, allocations: 0 / 0.7451 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.28, allocations: 7.969 kB / 0.7451 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.296, allocations: 6.155 MB / 0.7512 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.296, allocations: 0 / 0.7512 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/1.297, allocations: 103.9 kB / 0.7512 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/1.303, allocations: 1.816 MB / 0.753 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.303, allocations: 7.984 kB / 0.753 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/1.32, allocations: 7.566 MB / 0.7604 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.32, allocations: 4 kB / 0.7604 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0157/1.335, allocations: 5.436 MB / 0.7657 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01729/1.353, allocations: 6.619 MB / 0.7722 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/1.353, allocations: 223.2 kB / 0.7724 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.354, allocations: 4 kB / 0.7724 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.355, allocations: 143.9 kB / 0.7726 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/1.356, allocations: 128.8 kB / 0.7727 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.356, allocations: 27.98 kB / 0.7727 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009371/1.357, allocations: 0.5976 MB / 0.7733 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00207/1.359, allocations: 427.4 kB / 0.7737 GB, free: 1.598 MB / 0.4948 GB 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.0003858/1.359, allocations: 127.1 kB / 0.7738 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006402/1.365, allocations: 2.152 MB / 0.7759 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.366, allocations: 3.938 kB / 0.7759 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004752/1.37, allocations: 1.648 MB / 0.7775 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.372, allocations: 83.84 kB / 0.7776 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/1.377, allocations: 1.842 MB / 0.7794 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.378, allocations: 1.218 MB / 0.7806 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/1.378, allocations: 4 kB / 0.7806 GB, free: 10.39 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)