Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.004587/0.004588, allocations: 183 kB / 7.459 MB, free: 2.512 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.34/1.34, allocations: 221.4 MB / 229.3 MB, free: 3.156 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.001198/0.001198, allocations: 95.72 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5328/0.5328, allocations: 78.06 MB / 409 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1829/0.7157, allocations: 75.48 MB / 484.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/1.112, allocations: 69.35 MB / 0.5408 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/1.246, allocations: 104.8 MB / 0.6431 GB, free: 12 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.246, allocations: 75.95 kB / 0.6432 GB, free: 15.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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.4026/1.649, allocations: 36.82 MB / 0.6792 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.128e-05/1.649, allocations: 10.03 kB / 0.6792 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005411/1.654, allocations: 0.5445 MB / 0.6797 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/1.658, allocations: 0.8167 MB / 0.6805 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005864/1.658, allocations: 336.5 kB / 0.6808 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/1.659, allocations: 53.97 kB / 0.6809 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003196/1.662, allocations: 0.9222 MB / 0.6818 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/1.665, allocations: 0.9087 MB / 0.6827 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/1.665, allocations: 0 / 0.6827 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.665, allocations: 6.531 kB / 0.6827 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.665, allocations: 20.31 kB / 0.6827 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/1.677, allocations: 3.994 MB / 0.6866 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/1.679, allocations: 0.8539 MB / 0.6874 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/1.681, allocations: 0.6124 MB / 0.688 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.681, allocations: 24.33 kB / 0.688 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.681, allocations: 44.16 kB / 0.6881 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 6.763e-06/1.681, allocations: 0 / 0.6881 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.02348/1.705, allocations: 4.957 MB / 0.6929 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.705, allocations: 85.89 kB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.707, allocations: 0.8513 MB / 0.6938 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/1.708, allocations: 26.2 kB / 0.6939 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/1.708, allocations: 326.7 kB / 0.6942 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008284/1.709, allocations: 367.8 kB / 0.6945 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.709, allocations: 0 / 0.6945 GB, free: 100.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/1.709, allocations: 349.3 kB / 0.6949 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.71, allocations: 487.7 kB / 0.6953 GB, free: 99.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.712, allocations: 0.6099 MB / 0.6959 GB, free: 99.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.713, allocations: 0.5304 MB / 0.6964 GB, free: 99.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.713, allocations: 0 / 0.6964 GB, free: 99.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005311/1.719, allocations: 1.722 MB / 0.6981 GB, free: 98.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.719, allocations: 10.19 kB / 0.6981 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.719, allocations: 3.844 kB / 0.6981 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/1.732, allocations: 2.296 MB / 0.7004 GB, free: 98.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.733, allocations: 130.5 kB / 0.7005 GB, free: 98.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009272/1.742, allocations: 2.472 MB / 0.7029 GB, free: 96.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.746, allocations: 200 kB / 0.7031 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/1.746, allocations: 39.59 kB / 0.7031 GB, free: 96.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 (73): * Single equations (assignments): 72 * 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 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005566/1.747, allocations: 123.4 kB / 0.7033 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009006/1.747, allocations: 138.7 kB / 0.7034 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02592/1.773, allocations: 5.124 MB / 0.7084 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/1.774, allocations: 14.12 kB / 0.7084 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.774, allocations: 1.219 kB / 0.7084 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/1.774, allocations: 7.781 kB / 0.7084 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.803, allocations: 6.628 MB / 0.7149 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.803, allocations: 3.906 kB / 0.7149 GB, free: 91.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.804, allocations: 106.4 kB / 0.715 GB, free: 91.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009782/1.814, allocations: 2.072 MB / 0.717 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/1.814, allocations: 0 / 0.717 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/1.839, allocations: 7.173 MB / 0.724 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.839, allocations: 1.078 kB / 0.724 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01888/1.858, allocations: 6.031 MB / 0.7299 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01821/1.876, allocations: 7.23 MB / 0.737 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/1.877, allocations: 242.8 kB / 0.7372 GB, free: 70.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/1.877, allocations: 4 kB / 0.7372 GB, free: 70.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.879, allocations: 147.9 kB / 0.7374 GB, free: 70.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.879, allocations: 132.6 kB / 0.7375 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.879, allocations: 35.89 kB / 0.7375 GB, free: 69.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009104/1.88, allocations: 0.6584 MB / 0.7382 GB, free: 69.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001919/1.882, allocations: 403.5 kB / 0.7385 GB, free: 68.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.0003327/1.882, allocations: 148.4 kB / 0.7387 GB, free: 68.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006367/1.889, allocations: 2.145 MB / 0.7408 GB, free: 66.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.889, allocations: 0 / 0.7408 GB, free: 66.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005367/1.894, allocations: 1.713 MB / 0.7425 GB, free: 64.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.895, allocations: 80.59 kB / 0.7425 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/1.9, allocations: 1.951 MB / 0.7444 GB, free: 62.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/1.9, allocations: 1.229 MB / 0.7456 GB, free: 61.53 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/1.9, allocations: 0 / 0.7456 GB, free: 61.53 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)