Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_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.002534/0.002533, allocations: 183.3 kB / 7.46 MB, free: 2.242 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.275/1.275, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.001045/0.001045, allocations: 103.5 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4775/0.4775, allocations: 78.05 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.177/0.6546, allocations: 75.49 MB / 484.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/1.035, allocations: 69.35 MB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/1.182, allocations: 105.7 MB / 0.644 GB, free: 15.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.182, allocations: 79.95 kB / 0.6441 GB, free: 14.94 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.3988/1.581, allocations: 38.39 MB / 0.6816 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.581, allocations: 10.47 kB / 0.6816 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/1.585, allocations: 0.5451 MB / 0.6822 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/1.587, allocations: 0.8481 MB / 0.683 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004158/1.587, allocations: 339.2 kB / 0.6833 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/1.588, allocations: 46.09 kB / 0.6834 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002132/1.59, allocations: 0.9399 MB / 0.6843 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.592, allocations: 0.9241 MB / 0.6852 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/1.592, allocations: 0 / 0.6852 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.592, allocations: 3.906 kB / 0.6852 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.592, allocations: 19.78 kB / 0.6852 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008434/1.6, allocations: 4.053 MB / 0.6892 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.602, allocations: 0.8728 MB / 0.69 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/1.603, allocations: 0.6248 MB / 0.6906 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/1.603, allocations: 23.86 kB / 0.6906 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.603, allocations: 46.12 kB / 0.6907 GB, free: 102.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 3.597e-06/1.603, allocations: 0 / 0.6907 GB, free: 102.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01563/1.619, allocations: 5.055 MB / 0.6956 GB, free: 101.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.619, allocations: 89.64 kB / 0.6957 GB, free: 101.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.62, allocations: 0.8925 MB / 0.6966 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.621, allocations: 25.7 kB / 0.6966 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/1.621, allocations: 331.8 kB / 0.6969 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/1.622, allocations: 379.1 kB / 0.6973 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.622, allocations: 0 / 0.6973 GB, free: 100.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/1.622, allocations: 344.1 kB / 0.6976 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/1.623, allocations: 0.4905 MB / 0.6981 GB, free: 99.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.624, allocations: 0.6277 MB / 0.6987 GB, free: 99.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/1.625, allocations: 0.5432 MB / 0.6992 GB, free: 99.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.625, allocations: 1.5 kB / 0.6992 GB, free: 99.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004601/1.63, allocations: 1.76 MB / 0.7009 GB, free: 98.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.63, allocations: 11 kB / 0.701 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.63, allocations: 4.094 kB / 0.701 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009838/1.64, allocations: 2.362 MB / 0.7033 GB, free: 97.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.641, allocations: 138.3 kB / 0.7034 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/1.647, allocations: 2.524 MB / 0.7059 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/1.649, allocations: 202.9 kB / 0.7061 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/1.649, allocations: 39.72 kB / 0.7061 GB, free: 96.34 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.0002768/1.649, allocations: 123 kB / 0.7062 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/1.65, allocations: 140.4 kB / 0.7063 GB, free: 96.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/1.665, allocations: 5.087 MB / 0.7113 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.666, allocations: 12 kB / 0.7113 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.666, allocations: 0 / 0.7113 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.666, allocations: 3.938 kB / 0.7113 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.685, allocations: 6.672 MB / 0.7178 GB, free: 89.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.685, allocations: 7.906 kB / 0.7179 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.686, allocations: 111.8 kB / 0.718 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007834/1.694, allocations: 2.067 MB / 0.72 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.694, allocations: 9.969 kB / 0.72 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.713, allocations: 7.159 MB / 0.727 GB, free: 80.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.713, allocations: 0 / 0.727 GB, free: 80.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01669/1.729, allocations: 6.053 MB / 0.7329 GB, free: 74.77 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01823/1.748, allocations: 7.277 MB / 0.74 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/1.748, allocations: 251 kB / 0.7402 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005566/1.749, allocations: 4 kB / 0.7402 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.751, allocations: 150.4 kB / 0.7404 GB, free: 67.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/1.751, allocations: 132.8 kB / 0.7405 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.751, allocations: 27.98 kB / 0.7405 GB, free: 66.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009949/1.752, allocations: 0.6904 MB / 0.7412 GB, free: 66.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002155/1.754, allocations: 419.4 kB / 0.7416 GB, free: 65.8 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.0003902/1.755, allocations: 150.9 kB / 0.7418 GB, free: 65.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006814/1.762, allocations: 2.168 MB / 0.7439 GB, free: 63.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.762, allocations: 0 / 0.7439 GB, free: 63.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005771/1.767, allocations: 1.736 MB / 0.7456 GB, free: 61.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.769, allocations: 86.78 kB / 0.7457 GB, free: 61.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/1.774, allocations: 2.028 MB / 0.7476 GB, free: 59.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008892/1.775, allocations: 1.244 MB / 0.7488 GB, free: 58.41 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/1.775, allocations: 7.938 kB / 0.7489 GB, free: 58.4 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)