Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.00341/0.00341, allocations: 182.9 kB / 7.459 MB, free: 2.512 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.459/1.459, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0009512/0.0009512, allocations: 96.39 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.08116/0.08116, allocations: 12.19 MB / 321.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3066/0.3066, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2882/0.5948, allocations: 76.1 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.7318, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/1.144, allocations: 115.9 MB / 0.6945 GB, free: 9.352 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.144, allocations: 86.19 kB / 0.6946 GB, free: 9.305 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.1447/1.289, allocations: 48.98 MB / 0.7424 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.289, allocations: 11.94 kB / 0.7424 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/1.293, allocations: 0.6136 MB / 0.743 GB, free: 252 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/1.296, allocations: 1.13 MB / 0.7441 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007022/1.297, allocations: 472 kB / 0.7446 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/1.298, allocations: 68 kB / 0.7446 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002971/1.301, allocations: 1.168 MB / 0.7458 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/1.303, allocations: 1.196 MB / 0.7469 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.303, allocations: 7.938 kB / 0.7469 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/1.304, allocations: 3.906 kB / 0.7469 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/1.304, allocations: 28 kB / 0.747 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/1.317, allocations: 5.303 MB / 0.7521 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/1.319, allocations: 1.17 MB / 0.7533 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.321, allocations: 0.7367 MB / 0.754 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/1.321, allocations: 0.7375 MB / 0.7547 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/1.323, allocations: 0.8813 MB / 0.7556 GB, free: 5.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.857e-06/1.323, allocations: 0 / 0.7556 GB, free: 5.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01747/1.34, allocations: 5.326 MB / 0.7608 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.34, allocations: 116.1 kB / 0.7609 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/1.343, allocations: 1.155 MB / 0.762 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000454/1.343, allocations: 25.7 kB / 0.762 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/1.344, allocations: 427.5 kB / 0.7625 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007066/1.344, allocations: 476.9 kB / 0.7629 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.344, allocations: 3.938 kB / 0.7629 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.345, allocations: 357.9 kB / 0.7633 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.346, allocations: 0.6328 MB / 0.7639 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/1.347, allocations: 0.7974 MB / 0.7647 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/1.349, allocations: 0.7204 MB / 0.7654 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.349, allocations: 0 / 0.7654 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.005026/1.354, allocations: 2.272 MB / 0.7676 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.354, allocations: 4 kB / 0.7676 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.354, allocations: 7.938 kB / 0.7676 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008859/1.363, allocations: 2.463 MB / 0.77 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.364, allocations: 231.7 kB / 0.7702 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/1.371, allocations: 3.182 MB / 0.7733 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.374, allocations: 266.6 kB / 0.7736 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/1.374, allocations: 51.98 kB / 0.7736 GB, free: 2.402 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: 3 ($whenCondition1,$whenCondition2,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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.0004259/1.375, allocations: 128.7 kB / 0.7737 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/1.375, allocations: 173.8 kB / 0.7739 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.392, allocations: 5.374 MB / 0.7792 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/1.392, allocations: 12 kB / 0.7792 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.392, allocations: 0 / 0.7792 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/1.392, allocations: 7.984 kB / 0.7792 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/1.413, allocations: 7.365 MB / 0.7864 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.413, allocations: 3.938 kB / 0.7864 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.415, allocations: 187.7 kB / 0.7866 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007189/1.422, allocations: 2.064 MB / 0.7886 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004173/1.422, allocations: 15.98 kB / 0.7886 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/1.442, allocations: 7.148 MB / 0.7956 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.442, allocations: 0 / 0.7956 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0195/1.461, allocations: 6.489 MB / 0.8019 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02136/1.483, allocations: 7.876 MB / 0.8096 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.484, allocations: 286.6 kB / 0.8099 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/1.484, allocations: 4 kB / 0.8099 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.486, allocations: 191.8 kB / 0.8101 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/1.487, allocations: 180.8 kB / 0.8102 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.487, allocations: 39.98 kB / 0.8103 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001416/1.488, allocations: 0.8792 MB / 0.8111 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002189/1.491, allocations: 0.4992 MB / 0.8116 GB, free: 11.14 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * 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.0004356/1.491, allocations: 171 kB / 0.8118 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007838/1.499, allocations: 2.522 MB / 0.8142 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.499, allocations: 0 / 0.8142 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006672/1.506, allocations: 1.895 MB / 0.8161 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.507, allocations: 117.5 kB / 0.8162 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008427/1.516, allocations: 2.686 MB / 0.8188 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.517, allocations: 1.464 MB / 0.8203 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/1.517, allocations: 0 / 0.8203 GB, free: 2.176 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)