Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.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.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003555/0.003555, allocations: 178.6 kB / 7.455 MB, free: 2.508 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.346/1.346, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0009167/0.0009167, allocations: 98.06 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07528/0.07528, allocations: 12.19 MB / 321.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2917/0.2917, allocations: 78.06 MB / 449.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.291/0.5827, allocations: 76.09 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.7276, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/1.163, allocations: 107.1 MB / 0.6858 GB, free: 2.273 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.163, allocations: 75.02 kB / 0.6859 GB, free: 2.234 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.1075/1.27, allocations: 37.13 MB / 0.7222 GB, free: 3.684 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.27, allocations: 11.94 kB / 0.7222 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/1.274, allocations: 0.5555 MB / 0.7227 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/1.277, allocations: 0.8383 MB / 0.7235 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/1.278, allocations: 340.8 kB / 0.7239 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/1.278, allocations: 51.91 kB / 0.7239 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00238/1.281, allocations: 0.9399 MB / 0.7248 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/1.283, allocations: 0.9205 MB / 0.7257 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.283, allocations: 4 kB / 0.7257 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.283, allocations: 3.938 kB / 0.7257 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.283, allocations: 20 kB / 0.7258 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009744/1.292, allocations: 4.045 MB / 0.7297 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.294, allocations: 0.8781 MB / 0.7306 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/1.295, allocations: 0.6246 MB / 0.7312 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/1.295, allocations: 20.36 kB / 0.7312 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.295, allocations: 42.94 kB / 0.7312 GB, free: 12.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 6.072e-06/1.295, allocations: 0 / 0.7312 GB, free: 12.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01631/1.312, allocations: 5.06 MB / 0.7362 GB, free: 8.242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/1.312, allocations: 102 kB / 0.7363 GB, free: 8.125 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.314, allocations: 0.8982 MB / 0.7372 GB, free: 7.477 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/1.314, allocations: 25.7 kB / 0.7372 GB, free: 7.445 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/1.314, allocations: 319.3 kB / 0.7375 GB, free: 7.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007028/1.315, allocations: 379.7 kB / 0.7378 GB, free: 6.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.315, allocations: 0 / 0.7378 GB, free: 6.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/1.315, allocations: 347.8 kB / 0.7382 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009109/1.316, allocations: 498.2 kB / 0.7387 GB, free: 6.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.317, allocations: 0.6211 MB / 0.7393 GB, free: 5.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.318, allocations: 0.5452 MB / 0.7398 GB, free: 5.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.318, allocations: 4 kB / 0.7398 GB, free: 5.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003788/1.322, allocations: 1.757 MB / 0.7415 GB, free: 3.773 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.322, allocations: 4 kB / 0.7415 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.322, allocations: 4 kB / 0.7415 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008948/1.331, allocations: 2.369 MB / 0.7438 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/1.332, allocations: 131.8 kB / 0.744 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/1.338, allocations: 2.531 MB / 0.7464 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.341, allocations: 206.9 kB / 0.7466 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.341, allocations: 35.98 kB / 0.7467 GB, free: 14.47 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.0003216/1.341, allocations: 114.2 kB / 0.7468 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005859/1.342, allocations: 142.3 kB / 0.7469 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.358, allocations: 5.087 MB / 0.7519 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/1.358, allocations: 19.98 kB / 0.7519 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.359, allocations: 7.938 kB / 0.7519 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/1.359, allocations: 3.984 kB / 0.7519 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/1.379, allocations: 6.672 MB / 0.7584 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.379, allocations: 0 / 0.7584 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.381, allocations: 115.9 kB / 0.7585 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007827/1.388, allocations: 2.064 MB / 0.7605 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/1.389, allocations: 11.97 kB / 0.7606 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/1.409, allocations: 7.164 MB / 0.7676 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.409, allocations: 0 / 0.7676 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03134/1.441, allocations: 6.049 MB / 0.7735 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02748/1.468, allocations: 7.279 MB / 0.7806 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/1.469, allocations: 243.1 kB / 0.7808 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006877/1.47, allocations: 0 / 0.7808 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.472, allocations: 147.9 kB / 0.7809 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/1.473, allocations: 140.7 kB / 0.7811 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.473, allocations: 27.98 kB / 0.7811 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00114/1.474, allocations: 0.6943 MB / 0.7818 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002086/1.476, allocations: 411.5 kB / 0.7822 GB, free: 9.781 MB / 0.5105 GB 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.0003771/1.476, allocations: 151 kB / 0.7823 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007095/1.483, allocations: 2.175 MB / 0.7844 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.483, allocations: 0 / 0.7844 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006324/1.49, allocations: 1.725 MB / 0.7861 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.491, allocations: 80.72 kB / 0.7862 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/1.497, allocations: 2.038 MB / 0.7882 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.498, allocations: 1.244 MB / 0.7894 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/1.498, allocations: 0 / 0.7894 GB, free: 2.277 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)