Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.ES.EXST1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",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.00283/0.00283, allocations: 178.6 kB / 7.455 MB, free: 2.508 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.343/1.343, 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.0008554/0.0008553, allocations: 97.14 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.07994/0.07994, allocations: 12.2 MB / 321.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2937/0.2937, allocations: 78.04 MB / 449.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3112/0.605, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.7473, allocations: 69.23 MB / 0.5813 GB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/1.215, allocations: 112.2 MB / 0.6909 GB, free: 12.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.216, allocations: 88.52 kB / 0.691 GB, free: 12.82 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1325/1.348, allocations: 43.81 MB / 0.7337 GB, free: 8.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.348, allocations: 11.94 kB / 0.7338 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/1.352, allocations: 0.5902 MB / 0.7343 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/1.355, allocations: 1.03 MB / 0.7353 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006784/1.356, allocations: 475.9 kB / 0.7358 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/1.356, allocations: 63.91 kB / 0.7359 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002654/1.359, allocations: 1.105 MB / 0.7369 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.361, allocations: 1.097 MB / 0.738 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.361, allocations: 0 / 0.738 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/1.361, allocations: 0 / 0.738 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/1.361, allocations: 24 kB / 0.738 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/1.373, allocations: 4.827 MB / 0.7427 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/1.375, allocations: 1.103 MB / 0.7438 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/1.376, allocations: 0.7068 MB / 0.7445 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/1.376, allocations: 24.41 kB / 0.7445 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.376, allocations: 57.42 kB / 0.7446 GB, free: 324 kB / 474.7 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/1.376, allocations: 3.938 kB / 0.7446 GB, free: 320 kB / 474.7 MB Notification: Performance of matching and sorting (n=128): time 0.01848/1.395, allocations: 5.323 MB / 0.7498 GB, free: 11.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.395, allocations: 149.5 kB / 0.7499 GB, free: 11.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.397, allocations: 1.072 MB / 0.751 GB, free: 9.941 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004378/1.398, allocations: 25.7 kB / 0.751 GB, free: 9.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/1.398, allocations: 387 kB / 0.7514 GB, free: 9.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/1.399, allocations: 445.3 kB / 0.7518 GB, free: 9.082 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/1.399, allocations: 4 kB / 0.7518 GB, free: 9.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.399, allocations: 353.9 kB / 0.7521 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/1.4, allocations: 0.582 MB / 0.7527 GB, free: 8.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.402, allocations: 0.749 MB / 0.7534 GB, free: 7.352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.403, allocations: 0.6505 MB / 0.7541 GB, free: 6.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.403, allocations: 4 kB / 0.7541 GB, free: 6.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004392/1.407, allocations: 2.097 MB / 0.7561 GB, free: 4.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005927/1.408, allocations: 1.335 MB / 0.7574 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.408, allocations: 4 kB / 0.7574 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009354/1.417, allocations: 2.58 MB / 0.7599 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.418, allocations: 167.8 kB / 0.7601 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/1.426, allocations: 3.089 MB / 0.7631 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/1.429, allocations: 246.8 kB / 0.7634 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.429, allocations: 55.97 kB / 0.7634 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.429, allocations: 7.938 kB / 0.7634 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004197/1.434, allocations: 1.882 MB / 0.7653 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.434, allocations: 4 kB / 0.7653 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009461/1.443, allocations: 2.561 MB / 0.7678 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.444, allocations: 179.7 kB / 0.7679 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/1.453, allocations: 3.065 MB / 0.7709 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/1.456, allocations: 231 kB / 0.7711 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.456, allocations: 55.89 kB / 0.7712 GB, free: 4.945 MB / 0.4948 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 (94): * Single equations (assignments): 93 * 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 {34 40} Notification: Performance of prepare postOptimizeDAE: time 0.0006313/1.457, allocations: 121.9 kB / 0.7713 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.458, allocations: 162 kB / 0.7715 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/1.477, allocations: 5.369 MB / 0.7767 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/1.477, allocations: 16 kB / 0.7767 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.477, allocations: 4 kB / 0.7767 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/1.477, allocations: 7.969 kB / 0.7767 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.503, allocations: 7.371 MB / 0.7839 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/1.503, allocations: 0 / 0.7839 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004944/1.508, allocations: 0.5111 MB / 0.7844 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01271/1.521, allocations: 2.151 MB / 0.7865 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005971/1.521, allocations: 8 kB / 0.7865 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03536/1.557, allocations: 10.24 MB / 0.7966 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.557, allocations: 8.016 kB / 0.7966 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0217/1.579, allocations: 6.499 MB / 0.8029 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0236/1.602, allocations: 7.848 MB / 0.8106 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.603, allocations: 278.6 kB / 0.8108 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009828/1.604, allocations: 4 kB / 0.8108 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.607, allocations: 179.8 kB / 0.811 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000694/1.608, allocations: 153 kB / 0.8112 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.608, allocations: 39.98 kB / 0.8112 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002197/1.61, allocations: 0.8135 MB / 0.812 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005741/1.616, allocations: 0.7329 MB / 0.8127 GB, free: 9.836 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008392/1.617, allocations: 163 kB / 0.8129 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01796/1.635, allocations: 4.589 MB / 0.8173 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/1.635, allocations: 4.188 kB / 0.8173 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/1.645, allocations: 2.466 MB / 0.8198 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.647, allocations: 113.1 kB / 0.8199 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.657, allocations: 2.565 MB / 0.8224 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/1.659, allocations: 1.403 MB / 0.8237 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/1.659, allocations: 0 / 0.8237 GB, free: 14.41 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)