Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.004475/0.004475, allocations: 176.1 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.418/1.418, 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.0009605/0.0009605, allocations: 96.05 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.09108/0.09108, allocations: 12.19 MB / 321.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3154/0.3154, allocations: 78.04 MB / 449.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3981/0.7135, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.8686, allocations: 69.23 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/1.314, allocations: 117.1 MB / 0.6956 GB, free: 8.379 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.315, allocations: 90.22 kB / 0.6957 GB, free: 8.332 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.1615/1.476, allocations: 53.64 MB / 0.7481 GB, free: 11.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.476, allocations: 11.94 kB / 0.7481 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/1.481, allocations: 0.6403 MB / 0.7487 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/1.485, allocations: 1.261 MB / 0.7499 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007542/1.486, allocations: 0.5407 MB / 0.7505 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007614/1.487, allocations: 87.72 kB / 0.7506 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003509/1.49, allocations: 1.31 MB / 0.7518 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/1.493, allocations: 1.373 MB / 0.7532 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/1.493, allocations: 3.938 kB / 0.7532 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/1.494, allocations: 0 / 0.7532 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/1.494, allocations: 32 kB / 0.7532 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/1.509, allocations: 6.087 MB / 0.7592 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.511, allocations: 0.952 MB / 0.7601 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.512, allocations: 0.8033 MB / 0.7609 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/1.513, allocations: 0.7417 MB / 0.7616 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/1.514, allocations: 0.9788 MB / 0.7626 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=159): time 2.956e-06/1.514, allocations: 0 / 0.7626 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=159): time 0.01746/1.532, allocations: 5.409 MB / 0.7678 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.532, allocations: 145.8 kB / 0.768 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.534, allocations: 1.295 MB / 0.7692 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004987/1.535, allocations: 25.7 kB / 0.7693 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/1.535, allocations: 492.8 kB / 0.7697 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009538/1.536, allocations: 0.5427 MB / 0.7703 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.536, allocations: 0 / 0.7703 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.537, allocations: 365.9 kB / 0.7706 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/1.538, allocations: 0.6914 MB / 0.7713 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.539, allocations: 0.8975 MB / 0.7722 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/1.541, allocations: 0.779 MB / 0.7729 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.541, allocations: 8 kB / 0.7729 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005251/1.546, allocations: 2.396 MB / 0.7753 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006856/1.547, allocations: 1.739 MB / 0.777 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.547, allocations: 7.984 kB / 0.777 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008489/1.556, allocations: 2.365 MB / 0.7793 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.557, allocations: 303.6 kB / 0.7796 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/1.563, allocations: 2.527 MB / 0.782 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/1.566, allocations: 282.5 kB / 0.7823 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/1.567, allocations: 63.97 kB / 0.7824 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.567, allocations: 4 kB / 0.7824 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004825/1.571, allocations: 2.158 MB / 0.7845 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/1.572, allocations: 4 kB / 0.7845 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008405/1.58, allocations: 2.372 MB / 0.7868 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.582, allocations: 299.6 kB / 0.7871 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/1.587, allocations: 2.524 MB / 0.7896 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.59, allocations: 266.6 kB / 0.7898 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.59, allocations: 59.98 kB / 0.7899 GB, free: 1.645 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * 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.0004079/1.59, allocations: 132.6 kB / 0.79 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/1.591, allocations: 205.5 kB / 0.7902 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/1.608, allocations: 5.534 MB / 0.7956 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/1.608, allocations: 19.98 kB / 0.7956 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.608, allocations: 0 / 0.7956 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.372e-05/1.608, allocations: 11.97 kB / 0.7956 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.629, allocations: 7.78 MB / 0.8032 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.629, allocations: 4.031 kB / 0.8032 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.63, allocations: 227.7 kB / 0.8034 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006976/1.637, allocations: 2.064 MB / 0.8055 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004445/1.638, allocations: 15.98 kB / 0.8055 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.657, allocations: 7.176 MB / 0.8125 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.657, allocations: 7.844 kB / 0.8125 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01953/1.676, allocations: 6.757 MB / 0.8191 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02154/1.698, allocations: 8.246 MB / 0.8271 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/1.699, allocations: 318.1 kB / 0.8274 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/1.699, allocations: 8 kB / 0.8275 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.701, allocations: 199.8 kB / 0.8276 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/1.702, allocations: 177 kB / 0.8278 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.702, allocations: 47.98 kB / 0.8279 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001464/1.703, allocations: 0.9791 MB / 0.8288 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003809/1.707, allocations: 0.8574 MB / 0.8296 GB, free: 8.562 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.0006654/1.708, allocations: 180.7 kB / 0.8298 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01626/1.724, allocations: 4.722 MB / 0.8344 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.724, allocations: 0 / 0.8344 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006677/1.731, allocations: 1.973 MB / 0.8364 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.733, allocations: 146.2 kB / 0.8365 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008584/1.741, allocations: 3.174 MB / 0.8396 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.743, allocations: 1.601 MB / 0.8412 GB, free: 12.64 MB / 0.573 GB Notification: Performance of SimCode: time 2.645e-06/1.743, allocations: 0 / 0.8412 GB, free: 12.64 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)