Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.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.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",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.003385/0.003385, allocations: 180 kB / 7.458 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.332/1.332, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001074/0.001074, allocations: 98.33 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4771/0.4771, allocations: 78.92 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1762/0.6533, allocations: 75.64 MB / 485.4 MB, free: 3.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/1.014, allocations: 69.51 MB / 0.542 GB, free: 20.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/1.151, allocations: 106.3 MB / 0.6458 GB, free: 13.63 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/1.152, allocations: 79.89 kB / 0.6458 GB, free: 13.55 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.4054/1.557, allocations: 36 MB / 0.681 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.557, allocations: 9.156 kB / 0.681 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/1.56, allocations: 0.5558 MB / 0.6815 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.562, allocations: 0.8454 MB / 0.6824 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/1.562, allocations: 336.5 kB / 0.6827 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.562, allocations: 52.34 kB / 0.6827 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/1.564, allocations: 0.937 MB / 0.6836 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.565, allocations: 0.9161 MB / 0.6845 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.565, allocations: 2.062 kB / 0.6845 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/1.565, allocations: 9.859 kB / 0.6846 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/1.565, allocations: 24.45 kB / 0.6846 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/1.573, allocations: 4.04 MB / 0.6885 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.574, allocations: 0.8743 MB / 0.6894 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009413/1.575, allocations: 0.6257 MB / 0.69 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/1.575, allocations: 24.06 kB / 0.69 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.575, allocations: 47.41 kB / 0.6901 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 6.352e-06/1.575, allocations: 0.8438 kB / 0.6901 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.0154/1.591, allocations: 5.059 MB / 0.695 GB, free: 100.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/1.591, allocations: 89.61 kB / 0.6951 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/1.593, allocations: 0.8949 MB / 0.696 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.593, allocations: 25.7 kB / 0.696 GB, free: 100 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/1.593, allocations: 324.5 kB / 0.6963 GB, free: 99.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/1.594, allocations: 386.7 kB / 0.6967 GB, free: 99.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/1.594, allocations: 0 / 0.6967 GB, free: 99.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/1.594, allocations: 344.1 kB / 0.697 GB, free: 99.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008539/1.595, allocations: 0.4916 MB / 0.6975 GB, free: 98.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/1.596, allocations: 0.6212 MB / 0.6981 GB, free: 98.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.597, allocations: 0.5423 MB / 0.6986 GB, free: 98.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.597, allocations: 7.875 kB / 0.6986 GB, free: 98.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003742/1.601, allocations: 1.757 MB / 0.7003 GB, free: 97.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.601, allocations: 5.562 kB / 0.7003 GB, free: 97.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.601, allocations: 3.25 kB / 0.7003 GB, free: 97.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009047/1.61, allocations: 2.359 MB / 0.7026 GB, free: 97.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/1.611, allocations: 139 kB / 0.7028 GB, free: 97.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/1.616, allocations: 2.528 MB / 0.7052 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.618, allocations: 199.2 kB / 0.7054 GB, free: 95.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.618, allocations: 42.33 kB / 0.7055 GB, free: 95.61 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.0002938/1.619, allocations: 128.7 kB / 0.7056 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.619, allocations: 144.5 kB / 0.7057 GB, free: 95.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/1.635, allocations: 5.082 MB / 0.7107 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.635, allocations: 11.16 kB / 0.7107 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.635, allocations: 5.344 kB / 0.7107 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/1.635, allocations: 3.938 kB / 0.7107 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/1.653, allocations: 6.669 MB / 0.7172 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.653, allocations: 3.906 kB / 0.7172 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/1.653, allocations: 115.2 kB / 0.7173 GB, free: 89.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006497/1.66, allocations: 2.068 MB / 0.7194 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/1.66, allocations: 10.16 kB / 0.7194 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/1.678, allocations: 7.152 MB / 0.7264 GB, free: 81.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.678, allocations: 4 kB / 0.7264 GB, free: 81.12 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01601/1.695, allocations: 6.05 MB / 0.7323 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01786/1.712, allocations: 7.273 MB / 0.7394 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008362/1.713, allocations: 243.1 kB / 0.7396 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.714, allocations: 6.5 kB / 0.7396 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.716, allocations: 151.1 kB / 0.7397 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/1.716, allocations: 136.8 kB / 0.7399 GB, free: 67.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.717, allocations: 32 kB / 0.7399 GB, free: 67.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001104/1.718, allocations: 0.6904 MB / 0.7406 GB, free: 66.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002274/1.72, allocations: 411.4 kB / 0.741 GB, free: 66.11 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.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.0003674/1.72, allocations: 164.4 kB / 0.7411 GB, free: 65.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006561/1.727, allocations: 2.173 MB / 0.7433 GB, free: 63.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.727, allocations: 0 / 0.7433 GB, free: 63.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005269/1.732, allocations: 1.733 MB / 0.7449 GB, free: 62.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.733, allocations: 88.66 kB / 0.745 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/1.739, allocations: 2.037 MB / 0.747 GB, free: 59.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.74, allocations: 1.244 MB / 0.7482 GB, free: 58.69 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/1.74, allocations: 0 / 0.7482 GB, free: 58.69 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)