Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",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.003395/0.003396, allocations: 175 kB / 7.451 MB, free: 2.004 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.314/1.314, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0009554/0.0009554, allocations: 97.33 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4733/0.4733, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1675/0.6408, allocations: 75.65 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/1.022, allocations: 69.49 MB / 0.5419 GB, free: 20.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/1.167, allocations: 106.4 MB / 0.6458 GB, free: 13.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/1.168, allocations: 79.95 kB / 0.6459 GB, free: 13.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.3878/1.555, allocations: 36.86 MB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.555, allocations: 6.25 kB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/1.559, allocations: 0.5548 MB / 0.6825 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.56, allocations: 0.8435 MB / 0.6833 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/1.56, allocations: 340.8 kB / 0.6836 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/1.56, allocations: 49.59 kB / 0.6837 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/1.562, allocations: 0.9385 MB / 0.6846 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/1.563, allocations: 0.92 MB / 0.6855 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.563, allocations: 0 / 0.6855 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.564, allocations: 10.44 kB / 0.6855 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.564, allocations: 21.2 kB / 0.6855 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006703/1.57, allocations: 4.047 MB / 0.6895 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.572, allocations: 0.8701 MB / 0.6903 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/1.572, allocations: 0.623 MB / 0.6909 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.573, allocations: 19.89 kB / 0.6909 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.573, allocations: 48.56 kB / 0.691 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 3.196e-06/1.573, allocations: 0 / 0.691 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01527/1.588, allocations: 5.067 MB / 0.6959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/1.588, allocations: 89.86 kB / 0.696 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.589, allocations: 0.8947 MB / 0.6969 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/1.59, allocations: 25.7 kB / 0.6969 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/1.59, allocations: 328.2 kB / 0.6972 GB, free: 99.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/1.59, allocations: 386.2 kB / 0.6976 GB, free: 99.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/1.59, allocations: 0 / 0.6976 GB, free: 99.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/1.59, allocations: 345.5 kB / 0.6979 GB, free: 99.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007531/1.591, allocations: 495.2 kB / 0.6984 GB, free: 99.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000829/1.592, allocations: 0.6228 MB / 0.699 GB, free: 98.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.593, allocations: 0.5485 MB / 0.6995 GB, free: 98.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/1.593, allocations: 1.062 kB / 0.6995 GB, free: 98.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003921/1.597, allocations: 1.761 MB / 0.7013 GB, free: 97.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.597, allocations: 4.438 kB / 0.7013 GB, free: 97.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.597, allocations: 3.844 kB / 0.7013 GB, free: 97.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008629/1.606, allocations: 2.359 MB / 0.7036 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/1.607, allocations: 138.4 kB / 0.7037 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/1.612, allocations: 2.541 MB / 0.7062 GB, free: 95.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.614, allocations: 199.7 kB / 0.7064 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.615, allocations: 41.97 kB / 0.7064 GB, free: 95.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002515/1.615, allocations: 114.2 kB / 0.7065 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.615, allocations: 138.9 kB / 0.7067 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/1.631, allocations: 5.092 MB / 0.7116 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.631, allocations: 15.94 kB / 0.7116 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.631, allocations: 8 kB / 0.7116 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/1.631, allocations: 3.891 kB / 0.7117 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.649, allocations: 6.658 MB / 0.7182 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.649, allocations: 3.906 kB / 0.7182 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008278/1.65, allocations: 121.3 kB / 0.7183 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006875/1.657, allocations: 2.068 MB / 0.7203 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/1.657, allocations: 10.48 kB / 0.7203 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/1.675, allocations: 7.151 MB / 0.7273 GB, free: 80.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.675, allocations: 2.75 kB / 0.7273 GB, free: 80.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01696/1.692, allocations: 6.057 MB / 0.7332 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01828/1.711, allocations: 7.281 MB / 0.7403 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/1.711, allocations: 247 kB / 0.7405 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000745/1.712, allocations: 4 kB / 0.7406 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.714, allocations: 143.9 kB / 0.7407 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.715, allocations: 136.8 kB / 0.7408 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.715, allocations: 28 kB / 0.7408 GB, free: 66.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001156/1.716, allocations: 0.6943 MB / 0.7415 GB, free: 65.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00298/1.719, allocations: 419.4 kB / 0.7419 GB, free: 65.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000546/1.72, allocations: 145.7 kB / 0.7421 GB, free: 65.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006844/1.727, allocations: 2.169 MB / 0.7442 GB, free: 62.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.727, allocations: 0 / 0.7442 GB, free: 62.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005762/1.732, allocations: 1.734 MB / 0.7459 GB, free: 61.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.734, allocations: 86.44 kB / 0.746 GB, free: 61.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/1.74, allocations: 2.04 MB / 0.748 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.741, allocations: 1.248 MB / 0.7492 GB, free: 57.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/1.741, allocations: 0 / 0.7492 GB, free: 57.75 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)