Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.002843/0.002843, allocations: 181.5 kB / 7.455 MB, free: 2.516 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.308/1.308, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0009342/0.0009344, allocations: 101.9 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4727/0.4727, allocations: 78.93 MB / 409.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.653, allocations: 75.63 MB / 485.4 MB, free: 3.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/1.077, allocations: 69.51 MB / 0.5419 GB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/1.234, allocations: 105.1 MB / 0.6446 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/1.235, allocations: 75.95 kB / 0.6447 GB, free: 2.965 MB / 0.4948 GB 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.1067/1.341, allocations: 35.22 MB / 0.6791 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.342, allocations: 12 kB / 0.6791 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/1.345, allocations: 0.5367 MB / 0.6796 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.347, allocations: 0.7829 MB / 0.6804 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/1.348, allocations: 345.3 kB / 0.6807 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/1.348, allocations: 44 kB / 0.6808 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002424/1.35, allocations: 0.9176 MB / 0.6817 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/1.352, allocations: 0.8953 MB / 0.6825 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.352, allocations: 3.984 kB / 0.6825 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/1.353, allocations: 0 / 0.6825 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.353, allocations: 20 kB / 0.6826 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009921/1.362, allocations: 3.946 MB / 0.6864 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/1.364, allocations: 0.8444 MB / 0.6872 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/1.365, allocations: 0.6022 MB / 0.6878 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/1.365, allocations: 20.98 kB / 0.6878 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.365, allocations: 47.48 kB / 0.6879 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=107): time 3.687e-06/1.365, allocations: 4 kB / 0.6879 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of matching and sorting (n=107): time 0.01647/1.382, allocations: 4.933 MB / 0.6927 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.382, allocations: 90.11 kB / 0.6928 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.384, allocations: 0.8291 MB / 0.6936 GB, free: 216 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/1.384, allocations: 25.7 kB / 0.6936 GB, free: 184 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.384, allocations: 325.7 kB / 0.6939 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/1.385, allocations: 362.5 kB / 0.6943 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.385, allocations: 7.938 kB / 0.6943 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.385, allocations: 349.8 kB / 0.6946 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/1.386, allocations: 482 kB / 0.6951 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.387, allocations: 0.6033 MB / 0.6957 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.388, allocations: 0.5222 MB / 0.6962 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.388, allocations: 0 / 0.6962 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004076/1.392, allocations: 1.703 MB / 0.6978 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.392, allocations: 4 kB / 0.6978 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.392, allocations: 4 kB / 0.6979 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007915/1.4, allocations: 2.206 MB / 0.7 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/1.401, allocations: 135.8 kB / 0.7001 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/1.407, allocations: 2.402 MB / 0.7025 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.408, allocations: 195.1 kB / 0.7027 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.409, allocations: 39.98 kB / 0.7027 GB, free: 6.777 MB / 0.5573 GB 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.0003013/1.409, allocations: 124.5 kB / 0.7028 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.409, allocations: 130.4 kB / 0.7029 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.425, allocations: 5.05 MB / 0.7079 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/1.426, allocations: 8 kB / 0.7079 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.426, allocations: 11.91 kB / 0.7079 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.426, allocations: 7.969 kB / 0.7079 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3624/1.788, allocations: 6.54 MB / 0.7143 GB, free: 72.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.788, allocations: 3.5 kB / 0.7143 GB, free: 72.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/1.789, allocations: 108.9 kB / 0.7144 GB, free: 72.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/1.796, allocations: 2.065 MB / 0.7164 GB, free: 72.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.796, allocations: 10.77 kB / 0.7164 GB, free: 72.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.813, allocations: 7.157 MB / 0.7234 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.813, allocations: 0 / 0.7234 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01589/1.829, allocations: 5.994 MB / 0.7293 GB, free: 70.57 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01789/1.847, allocations: 7.186 MB / 0.7363 GB, free: 69.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/1.848, allocations: 239.3 kB / 0.7365 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/1.848, allocations: 0 / 0.7365 GB, free: 69.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.85, allocations: 145.9 kB / 0.7367 GB, free: 69.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004475/1.85, allocations: 129.6 kB / 0.7368 GB, free: 69.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.851, allocations: 30.2 kB / 0.7368 GB, free: 69.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001096/1.852, allocations: 0.6425 MB / 0.7374 GB, free: 69.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002453/1.854, allocations: 400.4 kB / 0.7378 GB, free: 69.22 MB / 0.5573 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.0003849/1.855, allocations: 150.5 kB / 0.738 GB, free: 69.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0064/1.861, allocations: 2.107 MB / 0.74 GB, free: 69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.861, allocations: 0 / 0.74 GB, free: 69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.866, allocations: 1.708 MB / 0.7417 GB, free: 68.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.868, allocations: 76.67 kB / 0.7418 GB, free: 68.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/1.874, allocations: 1.919 MB / 0.7436 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.875, allocations: 1.227 MB / 0.7448 GB, free: 67.31 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/1.875, allocations: 0 / 0.7448 GB, free: 67.31 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)