Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001942/0.001942, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.375/1.375, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0008387/0.0008387, allocations: 77.3 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06622/0.06622, allocations: 12.6 MB / 321.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2982/0.2982, allocations: 78.06 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.347e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 69.33 MB / 0.5824 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4794, allocations: 103.6 MB / 0.6836 GB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4796, allocations: 94.42 kB / 0.6837 GB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09466/0.5743, allocations: 35.04 MB / 0.7179 GB, free: 7.445 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5744, allocations: 0 / 0.7179 GB, free: 7.445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.5745, allocations: 35.92 kB / 0.718 GB, free: 7.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005924/0.5805, allocations: 1.955 MB / 0.7199 GB, free: 5.531 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5805, allocations: 8.031 kB / 0.7199 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.5844, allocations: 0.5738 MB / 0.7204 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/0.5879, allocations: 0.881 MB / 0.7213 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.5884, allocations: 311.4 kB / 0.7216 GB, free: 3.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.5889, allocations: 56 kB / 0.7216 GB, free: 3.844 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002215/0.5911, allocations: 0.919 MB / 0.7225 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.5934, allocations: 0.9636 MB / 0.7235 GB, free: 2.625 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.5935, allocations: 4 kB / 0.7235 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5936, allocations: 3.984 kB / 0.7235 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.5936, allocations: 20 kB / 0.7235 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.6021, allocations: 4.088 MB / 0.7275 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.6045, allocations: 1.514 MB / 0.729 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009028/0.6054, allocations: 0.6352 MB / 0.7296 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.6056, allocations: 24.41 kB / 0.7296 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.6068, allocations: 0.7395 MB / 0.7303 GB, free: 13.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.377e-06/0.6068, allocations: 0 / 0.7303 GB, free: 13.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01353/0.6203, allocations: 4.361 MB / 0.7346 GB, free: 9.488 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6204, allocations: 116.1 kB / 0.7347 GB, free: 9.348 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.6218, allocations: 0.7847 MB / 0.7355 GB, free: 8.762 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.622, allocations: 25.7 kB / 0.7355 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.6224, allocations: 0.54 MB / 0.736 GB, free: 8.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.623, allocations: 371.6 kB / 0.7364 GB, free: 8.105 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.6231, allocations: 4.031 kB / 0.7364 GB, free: 8.102 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6233, allocations: 347 kB / 0.7367 GB, free: 7.773 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.6242, allocations: 0.4927 MB / 0.7372 GB, free: 7.516 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009227/0.6251, allocations: 0.6188 MB / 0.7378 GB, free: 7.113 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.6261, allocations: 0.5448 MB / 0.7383 GB, free: 6.746 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6261, allocations: 0 / 0.7383 GB, free: 6.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01367/0.6398, allocations: 4.41 MB / 0.7426 GB, free: 2.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.6399, allocations: 59.41 kB / 0.7427 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6399, allocations: 4 kB / 0.7427 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/0.646, allocations: 1.8 MB / 0.7445 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6472, allocations: 211.8 kB / 0.7447 GB, free: 240 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.6644, allocations: 7.888 MB / 0.7524 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.6663, allocations: 211.1 kB / 0.7526 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.6666, allocations: 43.92 kB / 0.7526 GB, free: 7.977 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005058/0.6671, allocations: 159.6 kB / 0.7528 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.6675, allocations: 126.4 kB / 0.7529 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.6814, allocations: 4.492 MB / 0.7573 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.6815, allocations: 11.95 kB / 0.7573 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6815, allocations: 4 kB / 0.7573 GB, free: 3.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.6815, allocations: 3.984 kB / 0.7573 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.6981, allocations: 6.219 MB / 0.7634 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.6982, allocations: 3.953 kB / 0.7634 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.6991, allocations: 135.8 kB / 0.7635 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/0.705, allocations: 1.821 MB / 0.7653 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.7053, allocations: 8 kB / 0.7653 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.7218, allocations: 8.414 MB / 0.7735 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7218, allocations: 4 kB / 0.7735 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.7371, allocations: 5.347 MB / 0.7787 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.7376, allocations: 223.2 kB / 0.7789 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.738, allocations: 4 kB / 0.7789 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.7396, allocations: 159.8 kB / 0.7791 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007385/0.7404, allocations: 240.9 kB / 0.7793 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7405, allocations: 27.98 kB / 0.7794 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009677/0.7415, allocations: 0.5948 MB / 0.7799 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7415, allocations: 0 / 0.7799 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001664/0.7432, allocations: 435.4 kB / 0.7803 GB, free: 11.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003303/0.7435, allocations: 147 kB / 0.7805 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005525/0.749, allocations: 2.243 MB / 0.7827 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7491, allocations: 0 / 0.7827 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004617/0.7537, allocations: 1.726 MB / 0.7844 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.7546, allocations: 88.53 kB / 0.7844 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.7588, allocations: 1.869 MB / 0.7863 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.7596, allocations: 1.182 MB / 0.7874 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.7601, allocations: 98.95 kB / 0.7875 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.7604, allocations: 59.42 kB / 0.7876 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/0.7604, allocations: 4.188 kB / 0.7876 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of Templates: time 0.03397/0.7943, allocations: 21.67 MB / 0.8087 GB, free: 13.87 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)