Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.00294/0.00294, allocations: 179.8 kB / 7.458 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.296/1.296, 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.0009961/0.0009961, allocations: 99.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.07068/0.07068, allocations: 12.2 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.297/0.297, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2957/0.5928, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.7352, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/1.112, allocations: 114.6 MB / 0.6932 GB, free: 10.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.113, allocations: 87.62 kB / 0.6933 GB, free: 10.8 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.1394/1.252, allocations: 48.84 MB / 0.741 GB, free: 2.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.252, allocations: 11.94 kB / 0.741 GB, free: 2.461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/1.256, allocations: 0.6044 MB / 0.7416 GB, free: 1.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/1.26, allocations: 1.12 MB / 0.7427 GB, free: 1.004 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/1.261, allocations: 432.2 kB / 0.7431 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/1.261, allocations: 75.83 kB / 0.7432 GB, free: 448 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002831/1.264, allocations: 1.145 MB / 0.7443 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/1.267, allocations: 1.168 MB / 0.7454 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.267, allocations: 0 / 0.7454 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.267, allocations: 4 kB / 0.7454 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/1.267, allocations: 24 kB / 0.7454 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/1.278, allocations: 5.291 MB / 0.7506 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/1.28, allocations: 1.13 MB / 0.7517 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.281, allocations: 0.7405 MB / 0.7524 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/1.281, allocations: 0.7336 MB / 0.7531 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/1.283, allocations: 0.8657 MB / 0.754 GB, free: 6.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 3.737e-06/1.283, allocations: 0 / 0.754 GB, free: 6.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01801/1.301, allocations: 5.256 MB / 0.7591 GB, free: 1.492 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/1.301, allocations: 116.1 kB / 0.7592 GB, free: 1.355 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.303, allocations: 1.147 MB / 0.7604 GB, free: 208 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003704/1.304, allocations: 29.7 kB / 0.7604 GB, free: 172 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.304, allocations: 423.3 kB / 0.7608 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/1.305, allocations: 461 kB / 0.7612 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.305, allocations: 4 kB / 0.7612 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.305, allocations: 357.9 kB / 0.7616 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.306, allocations: 0.6288 MB / 0.7622 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.307, allocations: 0.7935 MB / 0.763 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.309, allocations: 0.7087 MB / 0.7637 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.309, allocations: 0 / 0.7637 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004458/1.313, allocations: 2.165 MB / 0.7658 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.314, allocations: 4 kB / 0.7658 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.314, allocations: 8.438 kB / 0.7658 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008545/1.322, allocations: 2.376 MB / 0.7681 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.323, allocations: 239.7 kB / 0.7683 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/1.329, allocations: 2.535 MB / 0.7708 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.332, allocations: 250.7 kB / 0.771 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.332, allocations: 55.98 kB / 0.7711 GB, free: 5.082 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003451/1.332, allocations: 124.7 kB / 0.7712 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/1.333, allocations: 177.8 kB / 0.7714 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.351, allocations: 5.425 MB / 0.7767 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/1.351, allocations: 12 kB / 0.7767 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.351, allocations: 0 / 0.7767 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/1.351, allocations: 11.95 kB / 0.7767 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.372, allocations: 7.329 MB / 0.7839 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.372, allocations: 0 / 0.7839 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.373, allocations: 167.8 kB / 0.784 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007002/1.38, allocations: 2.068 MB / 0.786 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00032/1.381, allocations: 19.98 kB / 0.7861 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/1.399, allocations: 7.16 MB / 0.7931 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.399, allocations: 3.906 kB / 0.7931 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01886/1.418, allocations: 6.383 MB / 0.7993 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02084/1.439, allocations: 7.743 MB / 0.8069 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/1.44, allocations: 282.8 kB / 0.8071 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/1.44, allocations: 11.91 kB / 0.8071 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.442, allocations: 179.8 kB / 0.8073 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/1.443, allocations: 165 kB / 0.8075 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.443, allocations: 39.98 kB / 0.8075 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001508/1.445, allocations: 0.8632 MB / 0.8083 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002122/1.447, allocations: 0.503 MB / 0.8088 GB, free: 14.07 MB / 0.5417 GB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0004543/1.447, allocations: 182.9 kB / 0.809 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007437/1.455, allocations: 2.516 MB / 0.8115 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.455, allocations: 0.875 kB / 0.8115 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006222/1.461, allocations: 1.879 MB / 0.8133 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.462, allocations: 125.2 kB / 0.8134 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/1.469, allocations: 2.647 MB / 0.816 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.47, allocations: 1.461 MB / 0.8174 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/1.47, allocations: 0 / 0.8174 GB, free: 5.145 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)