Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002966/0.002966, allocations: 182.6 kB / 7.459 MB, free: 2.512 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.355/1.355, allocations: 205.2 MB / 213 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.00104/0.00104, allocations: 90.58 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.07983/0.07983, allocations: 12.19 MB / 321.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3135/0.3135, allocations: 78.05 MB / 449.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2871/0.6007, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.7524, allocations: 69.22 MB / 0.5813 GB, free: 9.211 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/1.137, allocations: 106.2 MB / 0.685 GB, free: 3.141 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.138, allocations: 80.02 kB / 0.6851 GB, free: 3.098 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.1029/1.241, allocations: 35.85 MB / 0.7201 GB, free: 5.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.241, allocations: 11.94 kB / 0.7201 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/1.244, allocations: 0.5548 MB / 0.7206 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.246, allocations: 0.8125 MB / 0.7214 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/1.247, allocations: 340.3 kB / 0.7217 GB, free: 4.121 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/1.247, allocations: 48 kB / 0.7218 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/1.249, allocations: 0.9269 MB / 0.7227 GB, free: 3.512 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.251, allocations: 0.9055 MB / 0.7236 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.251, allocations: 5.031 kB / 0.7236 GB, free: 2.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/1.251, allocations: 0 / 0.7236 GB, free: 2.883 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.251, allocations: 20 kB / 0.7236 GB, free: 2.863 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008071/1.259, allocations: 4.004 MB / 0.7275 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.261, allocations: 0.8515 MB / 0.7283 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/1.261, allocations: 0.608 MB / 0.7289 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/1.262, allocations: 24.91 kB / 0.729 GB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.262, allocations: 42.12 kB / 0.729 GB, free: 14.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.677e-06/1.262, allocations: 0 / 0.729 GB, free: 14.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01607/1.278, allocations: 4.962 MB / 0.7338 GB, free: 10.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.278, allocations: 102 kB / 0.7339 GB, free: 10.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/1.28, allocations: 0.8464 MB / 0.7348 GB, free: 9.668 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/1.28, allocations: 29.7 kB / 0.7348 GB, free: 9.633 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.28, allocations: 316.4 kB / 0.7351 GB, free: 9.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/1.281, allocations: 374.4 kB / 0.7355 GB, free: 9.043 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/1.281, allocations: 0 / 0.7355 GB, free: 9.043 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/1.281, allocations: 340.9 kB / 0.7358 GB, free: 8.719 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/1.282, allocations: 483.5 kB / 0.7362 GB, free: 8.469 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/1.282, allocations: 0.6165 MB / 0.7368 GB, free: 8.051 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/1.283, allocations: 0.5263 MB / 0.7374 GB, free: 7.754 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.283, allocations: 0 / 0.7374 GB, free: 7.754 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003545/1.287, allocations: 1.725 MB / 0.739 GB, free: 6.305 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.287, allocations: 8 kB / 0.739 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.287, allocations: 0 / 0.739 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008118/1.295, allocations: 2.296 MB / 0.7413 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/1.296, allocations: 127.8 kB / 0.7414 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/1.302, allocations: 2.487 MB / 0.7438 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.304, allocations: 199.1 kB / 0.744 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.305, allocations: 35.98 kB / 0.7441 GB, free: 1.125 MB / 474.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.0004205/1.305, allocations: 117.7 kB / 0.7442 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/1.306, allocations: 134.3 kB / 0.7443 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.322, allocations: 5.136 MB / 0.7493 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.322, allocations: 11.98 kB / 0.7493 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.322, allocations: 11.91 kB / 0.7493 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/1.322, allocations: 3.984 kB / 0.7493 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.342, allocations: 6.617 MB / 0.7558 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.342, allocations: 0 / 0.7558 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/1.343, allocations: 111.9 kB / 0.7559 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007087/1.35, allocations: 2.072 MB / 0.7579 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/1.35, allocations: 4 kB / 0.7579 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/1.369, allocations: 7.172 MB / 0.7649 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.369, allocations: 0 / 0.7649 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0179/1.387, allocations: 6.029 MB / 0.7708 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0188/1.406, allocations: 7.237 MB / 0.7779 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/1.407, allocations: 243.1 kB / 0.7781 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/1.407, allocations: 4 kB / 0.7781 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.409, allocations: 147.9 kB / 0.7783 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/1.409, allocations: 128.8 kB / 0.7784 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.409, allocations: 35.97 kB / 0.7784 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00105/1.41, allocations: 0.6545 MB / 0.7791 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002271/1.413, allocations: 407.4 kB / 0.7795 GB, free: 12.55 MB / 0.5105 GB 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.0004548/1.413, allocations: 147 kB / 0.7796 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006903/1.42, allocations: 2.132 MB / 0.7817 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.42, allocations: 0 / 0.7817 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005916/1.426, allocations: 1.725 MB / 0.7834 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.427, allocations: 80.59 kB / 0.7834 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/1.433, allocations: 1.947 MB / 0.7853 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009833/1.434, allocations: 1.233 MB / 0.7866 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.434, allocations: 0 / 0.7866 GB, free: 5.188 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)