Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.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: translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") [: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.002223/0.002223, allocations: 179.6 kB / 7.454 MB, free: 2.504 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.198/1.198, allocations: 221.4 MB / 229.3 MB, free: 3.328 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.0009077/0.0009077, allocations: 102 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3961/0.3961, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.235e-06, allocations: 4 kB / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 69.34 MB / 0.5407 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.374, allocations: 114.5 MB / 0.6525 GB, free: 6.211 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3743, allocations: 83.95 kB / 0.6526 GB, free: 6.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3928/0.7671, allocations: 68.94 MB / 0.7199 GB, free: 90.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002952/0.7675, allocations: 67.88 kB / 0.72 GB, free: 90.12 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.008739/0.7762, allocations: 3.118 MB / 0.723 GB, free: 86.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7763, allocations: 12.03 kB / 0.7231 GB, free: 86.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.7806, allocations: 0.7143 MB / 0.7238 GB, free: 86.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.7855, allocations: 1.995 MB / 0.7257 GB, free: 84.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006679/0.7862, allocations: 0.6823 MB / 0.7264 GB, free: 83.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.7868, allocations: 107.8 kB / 0.7265 GB, free: 83.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004275/0.7911, allocations: 2.076 MB / 0.7285 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.7948, allocations: 1.816 MB / 0.7303 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.7948, allocations: 7.938 kB / 0.7303 GB, free: 79.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.7951, allocations: 0 / 0.7303 GB, free: 79.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.7951, allocations: 39.91 kB / 0.7303 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.8104, allocations: 7.584 MB / 0.7377 GB, free: 71.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.8145, allocations: 2.459 MB / 0.7401 GB, free: 69.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.8161, allocations: 1.122 MB / 0.7412 GB, free: 68.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.8163, allocations: 37.72 kB / 0.7413 GB, free: 67.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/0.8182, allocations: 1.369 MB / 0.7426 GB, free: 66.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.218e-06/0.8182, allocations: 4 kB / 0.7426 GB, free: 66.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01936/0.8376, allocations: 6.437 MB / 0.7489 GB, free: 60.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.8377, allocations: 201.9 kB / 0.7491 GB, free: 59.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.8417, allocations: 2.094 MB / 0.7511 GB, free: 57.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000486/0.8422, allocations: 29.7 kB / 0.7511 GB, free: 57.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.8426, allocations: 0.5671 MB / 0.7517 GB, free: 57.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.8439, allocations: 0.6549 MB / 0.7523 GB, free: 56.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.8442, allocations: 0 / 0.7523 GB, free: 56.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8443, allocations: 385.8 kB / 0.7527 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.846, allocations: 1.023 MB / 0.7537 GB, free: 55.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.8478, allocations: 1.243 MB / 0.7549 GB, free: 53.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.8498, allocations: 1.158 MB / 0.7561 GB, free: 52.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.8498, allocations: 0 / 0.7561 GB, free: 52.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.005792/0.8556, allocations: 3.211 MB / 0.7592 GB, free: 49.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.8558, allocations: 1.419 MB / 0.7606 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8558, allocations: 4 kB / 0.7606 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008207/0.8641, allocations: 2.369 MB / 0.7629 GB, free: 45.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/0.8685, allocations: 0.8545 MB / 0.7637 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.8754, allocations: 6.399 MB / 0.77 GB, free: 37.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.8799, allocations: 482.1 kB / 0.7704 GB, free: 37.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/0.8803, allocations: 67.98 kB / 0.7705 GB, free: 37.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.8803, allocations: 4 kB / 0.7705 GB, free: 37.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005808/0.8862, allocations: 2.884 MB / 0.7733 GB, free: 34.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.8862, allocations: 8 kB / 0.7733 GB, free: 34.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008186/0.8944, allocations: 2.368 MB / 0.7756 GB, free: 32.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/0.8982, allocations: 0.5462 MB / 0.7762 GB, free: 31.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.9046, allocations: 5.034 MB / 0.7811 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/0.909, allocations: 446.2 kB / 0.7815 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004486/0.9094, allocations: 71.97 kB / 0.7816 GB, free: 25.85 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real pSS2A.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1,1] pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.lV_GATE.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.hV_GATE1.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.add3_2.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: pSS2A.Leadlag2.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 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.0007573/0.9102, allocations: 150.9 kB / 0.7817 GB, free: 25.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/0.9111, allocations: 260.7 kB / 0.782 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/0.9295, allocations: 6.566 MB / 0.7884 GB, free: 18.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.9295, allocations: 23.91 kB / 0.7884 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9296, allocations: 0 / 0.7884 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/0.9296, allocations: 15.95 kB / 0.7884 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/0.9538, allocations: 9.582 MB / 0.7978 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.9539, allocations: 4 kB / 0.7978 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.956, allocations: 291.6 kB / 0.7981 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007006/0.963, allocations: 2.217 MB / 0.8002 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004243/0.9635, allocations: 31.97 kB / 0.8003 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02116/0.9847, allocations: 9.272 MB / 0.8093 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.9847, allocations: 0 / 0.8093 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02372/1.008, allocations: 8.209 MB / 0.8173 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.01, allocations: 429.3 kB / 0.8177 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.011, allocations: 27.92 kB / 0.8178 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/1.015, allocations: 387.6 kB / 0.8181 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008183/1.016, allocations: 197.6 kB / 0.8183 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/1.016, allocations: 55.97 kB / 0.8184 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003133/1.019, allocations: 1.578 MB / 0.8199 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00407/1.023, allocations: 1.002 MB / 0.8209 GB, free: 1.234 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 28 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2A.Leadlag1.TF.x_scaled[1],pSS2A.Leadlag2.TF.x_scaled[1],pSS2A.SimpleLag1.state,pSS2A.SimpleLag2.state,pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],pSS2A.derivativeLag.TF.x_scaled[1],pSS2A.derivativeLag1.TF.x_scaled[1],pSS2A.derivativeLag2.TF.x_scaled[1],pSS2A.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 139 * 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 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005708/1.024, allocations: 183.6 kB / 0.8211 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.043, allocations: 6.413 MB / 0.8273 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.043, allocations: 4 kB / 0.8273 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00772/1.051, allocations: 2.446 MB / 0.8297 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.054, allocations: 253.2 kB / 0.83 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.069, allocations: 4.761 MB / 0.8346 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/1.072, allocations: 1.966 MB / 0.8365 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.072, allocations: 4 kB / 0.8365 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of Templates: time 0.2578/1.33, allocations: 54.62 MB / 0.8899 GB, free: 197.3 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)