Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.002612/0.002612, allocations: 182.9 kB / 7.461 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.164/1.164, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009423/0.0009424, allocations: 89.97 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.07181/0.07181, allocations: 12.2 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.2852/0.2852, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2938/0.579, allocations: 76.09 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.7165, allocations: 69.24 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/1.135, allocations: 110.4 MB / 0.6891 GB, free: 14.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.135, allocations: 82.45 kB / 0.6891 GB, free: 14.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1226/1.258, allocations: 41.21 MB / 0.7294 GB, free: 12.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.258, allocations: 11.94 kB / 0.7294 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/1.262, allocations: 0.5736 MB / 0.73 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/1.264, allocations: 0.9447 MB / 0.7309 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/1.265, allocations: 400.4 kB / 0.7313 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/1.265, allocations: 59.98 kB / 0.7313 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003014/1.269, allocations: 1.034 MB / 0.7323 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.271, allocations: 1.035 MB / 0.7333 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.271, allocations: 4 kB / 0.7333 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.271, allocations: 0 / 0.7333 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/1.271, allocations: 20 kB / 0.7334 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.282, allocations: 4.562 MB / 0.7378 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.283, allocations: 1.037 MB / 0.7388 GB, free: 5.531 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.284, allocations: 0.6864 MB / 0.7395 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/1.284, allocations: 16.98 kB / 0.7395 GB, free: 5.141 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.286, allocations: 0.8217 MB / 0.7403 GB, free: 4.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 5.57e-06/1.286, allocations: 4 kB / 0.7403 GB, free: 4.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.01752/1.303, allocations: 5.178 MB / 0.7454 GB, free: 15.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.304, allocations: 115.8 kB / 0.7455 GB, free: 15.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/1.306, allocations: 1.017 MB / 0.7465 GB, free: 14.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004059/1.307, allocations: 25.7 kB / 0.7465 GB, free: 14.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/1.307, allocations: 358.9 kB / 0.7469 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/1.308, allocations: 425.5 kB / 0.7473 GB, free: 13.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.308, allocations: 7.938 kB / 0.7473 GB, free: 13.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/1.308, allocations: 353.9 kB / 0.7476 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.309, allocations: 0.5455 MB / 0.7481 GB, free: 12.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.311, allocations: 0.6959 MB / 0.7488 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/1.312, allocations: 0.6082 MB / 0.7494 GB, free: 11.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.312, allocations: 4 kB / 0.7494 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005015/1.317, allocations: 1.955 MB / 0.7513 GB, free: 9.602 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.317, allocations: 8 kB / 0.7513 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/1.317, allocations: 4 kB / 0.7513 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/1.326, allocations: 2.365 MB / 0.7536 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.327, allocations: 175.7 kB / 0.7538 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/1.333, allocations: 2.527 MB / 0.7563 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/1.336, allocations: 238.9 kB / 0.7565 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/1.336, allocations: 43.98 kB / 0.7566 GB, free: 4.215 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005611/1.337, allocations: 121.9 kB / 0.7567 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008165/1.338, allocations: 154.1 kB / 0.7568 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/1.355, allocations: 5.223 MB / 0.7619 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.355, allocations: 16 kB / 0.7619 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.355, allocations: 3.906 kB / 0.7619 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/1.355, allocations: 11.97 kB / 0.7619 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.378, allocations: 7.071 MB / 0.7688 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/1.378, allocations: 4.031 kB / 0.7689 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.379, allocations: 139.8 kB / 0.769 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007462/1.386, allocations: 2.068 MB / 0.771 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004716/1.387, allocations: 7.984 kB / 0.771 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/1.407, allocations: 7.16 MB / 0.778 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.408, allocations: 11.94 kB / 0.778 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01932/1.427, allocations: 6.239 MB / 0.7841 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02071/1.448, allocations: 7.565 MB / 0.7915 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/1.448, allocations: 270.8 kB / 0.7918 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/1.449, allocations: 11.91 kB / 0.7918 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.451, allocations: 171.8 kB / 0.7919 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/1.451, allocations: 149 kB / 0.7921 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.451, allocations: 32 kB / 0.7921 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001241/1.452, allocations: 0.784 MB / 0.7929 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001876/1.454, allocations: 439.4 kB / 0.7933 GB, free: 14.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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.000427/1.455, allocations: 162.9 kB / 0.7934 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007321/1.462, allocations: 2.325 MB / 0.7957 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.462, allocations: 4.062 kB / 0.7957 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005983/1.468, allocations: 1.812 MB / 0.7975 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.469, allocations: 93 kB / 0.7976 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/1.476, allocations: 2.313 MB / 0.7998 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.477, allocations: 1.339 MB / 0.8011 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/1.477, allocations: 0 / 0.8011 GB, free: 6.086 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)