Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.003313/0.003313, allocations: 182.6 kB / 7.458 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.24/1.24, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009057/0.0009058, allocations: 96.56 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.482/0.482, allocations: 78.05 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1576/0.6396, allocations: 75.51 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.9871, allocations: 69.35 MB / 0.5408 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/1.132, allocations: 115.4 MB / 0.6535 GB, free: 5.301 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.132, allocations: 91.94 kB / 0.6536 GB, free: 5.211 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.4232/1.556, allocations: 50.95 MB / 0.7034 GB, free: 103.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.556, allocations: 9.406 kB / 0.7034 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/1.56, allocations: 0.6117 MB / 0.704 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/1.563, allocations: 1.149 MB / 0.7051 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/1.564, allocations: 471.6 kB / 0.7056 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/1.564, allocations: 77.31 kB / 0.7056 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003056/1.567, allocations: 1.189 MB / 0.7068 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/1.57, allocations: 1.216 MB / 0.708 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/1.57, allocations: 3.938 kB / 0.708 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/1.571, allocations: 1.031 kB / 0.708 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/1.571, allocations: 27.66 kB / 0.708 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/1.584, allocations: 5.412 MB / 0.7133 GB, free: 96.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/1.586, allocations: 1.217 MB / 0.7145 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.587, allocations: 0.7435 MB / 0.7152 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/1.588, allocations: 0.7407 MB / 0.7159 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/1.589, allocations: 0.8929 MB / 0.7168 GB, free: 92.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 6.542e-06/1.589, allocations: 0 / 0.7168 GB, free: 92.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01616/1.605, allocations: 5.332 MB / 0.722 GB, free: 87.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.605, allocations: 145.8 kB / 0.7222 GB, free: 87.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.608, allocations: 1.164 MB / 0.7233 GB, free: 85.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/1.609, allocations: 25.7 kB / 0.7233 GB, free: 85.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/1.609, allocations: 431.6 kB / 0.7237 GB, free: 85.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/1.61, allocations: 480.8 kB / 0.7242 GB, free: 85.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/1.61, allocations: 0 / 0.7242 GB, free: 85.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.61, allocations: 361.9 kB / 0.7245 GB, free: 84.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.612, allocations: 0.6368 MB / 0.7252 GB, free: 84.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.613, allocations: 0.8255 MB / 0.726 GB, free: 83.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.615, allocations: 0.7206 MB / 0.7267 GB, free: 82.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.615, allocations: 3.938 kB / 0.7267 GB, free: 82.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005656/1.621, allocations: 2.283 MB / 0.7289 GB, free: 80.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004946/1.621, allocations: 1.538 MB / 0.7304 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.621, allocations: 7.938 kB / 0.7304 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008257/1.629, allocations: 2.472 MB / 0.7328 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.631, allocations: 235.7 kB / 0.733 GB, free: 75.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/1.637, allocations: 3.197 MB / 0.7362 GB, free: 72.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/1.64, allocations: 270.7 kB / 0.7364 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/1.641, allocations: 51.98 kB / 0.7365 GB, free: 72.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.641, allocations: 7.906 kB / 0.7365 GB, free: 72.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00546/1.646, allocations: 2.077 MB / 0.7385 GB, free: 70.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.646, allocations: 4 kB / 0.7385 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008159/1.654, allocations: 2.469 MB / 0.7409 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.656, allocations: 227.6 kB / 0.7411 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/1.662, allocations: 3.193 MB / 0.7443 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.665, allocations: 254.8 kB / 0.7445 GB, free: 63.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/1.665, allocations: 55.98 kB / 0.7446 GB, free: 63.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005502/1.666, allocations: 124.7 kB / 0.7447 GB, free: 63.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/1.666, allocations: 173.8 kB / 0.7448 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.682, allocations: 5.385 MB / 0.7501 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.682, allocations: 16 kB / 0.7501 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.682, allocations: 4 kB / 0.7501 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-05/1.682, allocations: 11.88 kB / 0.7501 GB, free: 58.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.703, allocations: 7.402 MB / 0.7574 GB, free: 50.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.703, allocations: 4.031 kB / 0.7574 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.705, allocations: 187.8 kB / 0.7575 GB, free: 50.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006651/1.711, allocations: 2.068 MB / 0.7596 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004607/1.712, allocations: 15.98 kB / 0.7596 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.73, allocations: 7.168 MB / 0.7666 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.73, allocations: 4 kB / 0.7666 GB, free: 41.08 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01786/1.748, allocations: 6.488 MB / 0.7729 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02048/1.768, allocations: 7.897 MB / 0.7806 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.769, allocations: 290.5 kB / 0.7809 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009224/1.77, allocations: 4 kB / 0.7809 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.773, allocations: 199.8 kB / 0.7811 GB, free: 26.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/1.774, allocations: 173 kB / 0.7813 GB, free: 25.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.774, allocations: 39.98 kB / 0.7813 GB, free: 25.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001579/1.776, allocations: 0.8834 MB / 0.7822 GB, free: 25.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004425/1.78, allocations: 0.8029 MB / 0.783 GB, free: 24.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0005968/1.781, allocations: 178.7 kB / 0.7831 GB, free: 24.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.794, allocations: 4.479 MB / 0.7875 GB, free: 19.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.794, allocations: 3.938 kB / 0.7875 GB, free: 19.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005999/1.8, allocations: 1.902 MB / 0.7894 GB, free: 17.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/1.802, allocations: 117.5 kB / 0.7895 GB, free: 17.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009656/1.812, allocations: 2.81 MB / 0.7922 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.814, allocations: 1.477 MB / 0.7937 GB, free: 13.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/1.814, allocations: 0 / 0.7937 GB, free: 13.2 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)