Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_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.003051/0.003051, 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.277/1.277, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009484/0.0009485, allocations: 93.86 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4639/0.4639, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/0.6898, allocations: 75.65 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/1.079, allocations: 69.51 MB / 0.542 GB, free: 21.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/1.217, allocations: 100.6 MB / 0.6402 GB, free: 3.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.217, allocations: 83.94 kB / 0.6403 GB, free: 3.23 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.0895/1.307, allocations: 31.52 MB / 0.6711 GB, free: 3.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.307, allocations: 12 kB / 0.6711 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/1.31, allocations: 0.5914 MB / 0.6717 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.312, allocations: 0.8265 MB / 0.6725 GB, free: 1.965 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/1.312, allocations: 240.1 kB / 0.6727 GB, free: 1.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/1.313, allocations: 47.91 kB / 0.6727 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001654/1.314, allocations: 0.867 MB / 0.6736 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2135/1.528, allocations: 0.8967 MB / 0.6745 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.528, allocations: 0 / 0.6745 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.528, allocations: 0 / 0.6745 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/1.528, allocations: 17.25 kB / 0.6745 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006606/1.535, allocations: 3.634 MB / 0.678 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.536, allocations: 0.6559 MB / 0.6787 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008983/1.537, allocations: 0.5964 MB / 0.6792 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.537, allocations: 18.94 kB / 0.6793 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/1.538, allocations: 0.6973 MB / 0.6799 GB, free: 139.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.725e-06/1.538, allocations: 0 / 0.6799 GB, free: 139.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01283/1.551, allocations: 4.493 MB / 0.6843 GB, free: 139.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.551, allocations: 128.1 kB / 0.6845 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.552, allocations: 0.7821 MB / 0.6852 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.552, allocations: 29.53 kB / 0.6852 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/1.552, allocations: 336.8 kB / 0.6856 GB, free: 138.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/1.553, allocations: 345 kB / 0.6859 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/1.553, allocations: 0 / 0.6859 GB, free: 138.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.553, allocations: 346.1 kB / 0.6862 GB, free: 138.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007834/1.554, allocations: 0.4887 MB / 0.6867 GB, free: 138.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008054/1.555, allocations: 0.6072 MB / 0.6873 GB, free: 138 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/1.555, allocations: 0.5332 MB / 0.6878 GB, free: 138 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.555, allocations: 1.125 kB / 0.6878 GB, free: 138 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01301/1.568, allocations: 4.593 MB / 0.6923 GB, free: 137.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.568, allocations: 5.406 kB / 0.6923 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.568, allocations: 0 / 0.6923 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006442/1.575, allocations: 1.873 MB / 0.6941 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.576, allocations: 188.6 kB / 0.6943 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/1.591, allocations: 6.737 MB / 0.7009 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.593, allocations: 208 kB / 0.7011 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.593, allocations: 37.28 kB / 0.7011 GB, free: 135.9 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.0003288/1.594, allocations: 142.6 kB / 0.7013 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/1.594, allocations: 131.1 kB / 0.7014 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.608, allocations: 4.6 MB / 0.7059 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.608, allocations: 14.61 kB / 0.7059 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.608, allocations: 1.156 kB / 0.7059 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.608, allocations: 7.172 kB / 0.7059 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/1.623, allocations: 6.166 MB / 0.7119 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.623, allocations: 0 / 0.7119 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/1.624, allocations: 110.2 kB / 0.712 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005451/1.63, allocations: 1.813 MB / 0.7138 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/1.63, allocations: 10.86 kB / 0.7138 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.644, allocations: 7.557 MB / 0.7212 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.644, allocations: 0 / 0.7212 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01552/1.659, allocations: 5.434 MB / 0.7265 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01748/1.677, allocations: 6.617 MB / 0.733 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/1.677, allocations: 230.9 kB / 0.7332 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/1.678, allocations: 2.672 kB / 0.7332 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.679, allocations: 146 kB / 0.7333 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/1.679, allocations: 127.9 kB / 0.7334 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.68, allocations: 30.34 kB / 0.7335 GB, free: 125.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008683/1.68, allocations: 0.5996 MB / 0.7341 GB, free: 125.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002081/1.683, allocations: 430.1 kB / 0.7345 GB, free: 125 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.0002797/1.683, allocations: 129.9 kB / 0.7346 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005374/1.688, allocations: 2.162 MB / 0.7367 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.688, allocations: 0 / 0.7367 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.693, allocations: 1.646 MB / 0.7383 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.694, allocations: 85.23 kB / 0.7384 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/1.698, allocations: 1.83 MB / 0.7402 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.7, allocations: 1.219 MB / 0.7414 GB, free: 118.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/1.7, allocations: 0 / 0.7414 GB, free: 118.7 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)