Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.003446/0.003446, allocations: 180.6 kB / 7.459 MB, free: 2.5 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.391/1.391, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009041/0.000904, allocations: 80.56 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07275/0.07275, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3158/0.3158, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2979/0.6138, allocations: 76.08 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.7515, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4165/1.168, allocations: 105.9 MB / 0.6847 GB, free: 3.133 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.168, allocations: 80.31 kB / 0.6848 GB, free: 3.09 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1062/1.275, allocations: 36.67 MB / 0.7206 GB, free: 5.109 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.275, allocations: 15.94 kB / 0.7206 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/1.278, allocations: 0.5365 MB / 0.7211 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/1.28, allocations: 0.7849 MB / 0.7219 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/1.281, allocations: 337.2 kB / 0.7222 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/1.281, allocations: 51.75 kB / 0.7223 GB, free: 3.504 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002116/1.283, allocations: 0.9025 MB / 0.7231 GB, free: 2.957 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/1.285, allocations: 0.9106 MB / 0.724 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.285, allocations: 0 / 0.724 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.286, allocations: 0 / 0.724 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/1.286, allocations: 23.91 kB / 0.7241 GB, free: 2.305 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009745/1.295, allocations: 3.944 MB / 0.7279 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/1.297, allocations: 0.8418 MB / 0.7287 GB, free: 14.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.298, allocations: 0.601 MB / 0.7293 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/1.298, allocations: 24.78 kB / 0.7293 GB, free: 14.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/1.299, allocations: 47.44 kB / 0.7294 GB, free: 14.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 4.869e-06/1.299, allocations: 0 / 0.7294 GB, free: 14.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01676/1.315, allocations: 4.937 MB / 0.7342 GB, free: 9.914 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.315, allocations: 94.11 kB / 0.7343 GB, free: 9.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.317, allocations: 0.832 MB / 0.7351 GB, free: 9.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/1.317, allocations: 29.64 kB / 0.7351 GB, free: 9.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/1.318, allocations: 315.9 kB / 0.7354 GB, free: 8.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000748/1.318, allocations: 365.2 kB / 0.7358 GB, free: 8.574 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/1.319, allocations: 0 / 0.7358 GB, free: 8.574 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/1.319, allocations: 344 kB / 0.7361 GB, free: 8.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/1.32, allocations: 480.7 kB / 0.7366 GB, free: 8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/1.321, allocations: 0.6026 MB / 0.7372 GB, free: 7.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/1.322, allocations: 0.5173 MB / 0.7377 GB, free: 7.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/1.322, allocations: 7.938 kB / 0.7377 GB, free: 7.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003962/1.326, allocations: 1.702 MB / 0.7393 GB, free: 5.883 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.326, allocations: 4 kB / 0.7393 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.326, allocations: 4.438 kB / 0.7394 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008015/1.334, allocations: 2.213 MB / 0.7415 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/1.335, allocations: 131.7 kB / 0.7416 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/1.34, allocations: 2.398 MB / 0.744 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.342, allocations: 203 kB / 0.7442 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/1.343, allocations: 39.97 kB / 0.7442 GB, free: 0.8633 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003409/1.343, allocations: 128.7 kB / 0.7443 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/1.343, allocations: 134.3 kB / 0.7445 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/1.36, allocations: 5.042 MB / 0.7494 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.36, allocations: 12 kB / 0.7494 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.36, allocations: 0 / 0.7494 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.882e-05/1.36, allocations: 3.984 kB / 0.7494 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.379, allocations: 6.555 MB / 0.7558 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.379, allocations: 4 kB / 0.7558 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/1.38, allocations: 107.8 kB / 0.7559 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007458/1.388, allocations: 2.072 MB / 0.7579 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004292/1.388, allocations: 8 kB / 0.7579 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/1.408, allocations: 7.156 MB / 0.7649 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.408, allocations: 0 / 0.7649 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01871/1.427, allocations: 5.994 MB / 0.7708 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02091/1.448, allocations: 7.175 MB / 0.7778 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/1.449, allocations: 227.2 kB / 0.778 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006636/1.449, allocations: 0 / 0.778 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.452, allocations: 151.9 kB / 0.7781 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/1.452, allocations: 128.8 kB / 0.7783 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.452, allocations: 35.98 kB / 0.7783 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001609/1.454, allocations: 0.6348 MB / 0.7789 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002556/1.457, allocations: 411.2 kB / 0.7793 GB, free: 12.58 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,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.0004868/1.457, allocations: 144.7 kB / 0.7795 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007214/1.464, allocations: 2.101 MB / 0.7815 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.464, allocations: 4.25 kB / 0.7815 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006012/1.47, allocations: 1.713 MB / 0.7832 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.472, allocations: 84.53 kB / 0.7833 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/1.478, allocations: 1.923 MB / 0.7851 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.479, allocations: 1.224 MB / 0.7863 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/1.479, allocations: 0 / 0.7863 GB, free: 5.297 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)