Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.321/1.321, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0007966/0.0007966, allocations: 101.8 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4609/0.4609, allocations: 78.12 MB / 409.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.954e-05, allocations: 3.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5538, allocations: 102 MB / 0.6409 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5542, allocations: 95.88 kB / 0.641 GB, free: 13.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09887/0.6531, allocations: 36.03 MB / 0.6762 GB, free: 9.707 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6531, allocations: 0 / 0.6762 GB, free: 9.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.6533, allocations: 31.94 kB / 0.6762 GB, free: 9.676 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005807/0.6591, allocations: 1.955 MB / 0.6781 GB, free: 7.664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6591, allocations: 8.031 kB / 0.6781 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.6627, allocations: 0.5718 MB / 0.6787 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.6649, allocations: 0.8817 MB / 0.6795 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/0.6653, allocations: 307.6 kB / 0.6798 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.6656, allocations: 59.91 kB / 0.6799 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001916/0.6675, allocations: 0.9256 MB / 0.6808 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.6693, allocations: 0.9672 MB / 0.6817 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6694, allocations: 4 kB / 0.6817 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6695, allocations: 0 / 0.6817 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.6695, allocations: 20 kB / 0.6818 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.677, allocations: 4.083 MB / 0.6857 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.6794, allocations: 1.503 MB / 0.6872 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009143/0.6803, allocations: 0.6481 MB / 0.6878 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.6805, allocations: 25.16 kB / 0.6879 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.6817, allocations: 0.7386 MB / 0.6886 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 4.028e-06/0.6817, allocations: 0 / 0.6886 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01368/0.6954, allocations: 4.362 MB / 0.6929 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6955, allocations: 116.1 kB / 0.693 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.6969, allocations: 0.7806 MB / 0.6937 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.6972, allocations: 25.7 kB / 0.6938 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.6976, allocations: 0.5327 MB / 0.6943 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/0.6982, allocations: 374.4 kB / 0.6946 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.6983, allocations: 0 / 0.6946 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6985, allocations: 349.9 kB / 0.695 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.6993, allocations: 0.4986 MB / 0.6954 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00094/0.7003, allocations: 0.6192 MB / 0.6961 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.7012, allocations: 0.5399 MB / 0.6966 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7012, allocations: 4 kB / 0.6966 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01362/0.7149, allocations: 4.406 MB / 0.7009 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.715, allocations: 60.25 kB / 0.7009 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.715, allocations: 4 kB / 0.7009 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006307/0.7213, allocations: 1.798 MB / 0.7027 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7226, allocations: 215.7 kB / 0.7029 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/0.739, allocations: 7.884 MB / 0.7106 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.741, allocations: 218.9 kB / 0.7108 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.7412, allocations: 43.94 kB / 0.7109 GB, free: 5.43 MB / 0.5105 GB 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.0004275/0.7417, allocations: 162.3 kB / 0.711 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.742, allocations: 126.4 kB / 0.7111 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.7559, allocations: 4.485 MB / 0.7155 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.756, allocations: 8 kB / 0.7155 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.756, allocations: 4 kB / 0.7155 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.756, allocations: 3.984 kB / 0.7155 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.773, allocations: 6.224 MB / 0.7216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.773, allocations: 0 / 0.7216 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.7739, allocations: 135.8 kB / 0.7217 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/0.7799, allocations: 1.822 MB / 0.7235 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/0.7801, allocations: 13.02 kB / 0.7235 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.7971, allocations: 8.407 MB / 0.7317 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7972, allocations: 4 kB / 0.7317 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.8132, allocations: 5.343 MB / 0.737 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.8137, allocations: 227.1 kB / 0.7372 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.8142, allocations: 11.95 kB / 0.7372 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.8159, allocations: 163.8 kB / 0.7373 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000771/0.8166, allocations: 237.7 kB / 0.7376 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.8168, allocations: 28 kB / 0.7376 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009225/0.8177, allocations: 0.5927 MB / 0.7382 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8177, allocations: 0 / 0.7382 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001694/0.8194, allocations: 443.3 kB / 0.7386 GB, free: 8.57 MB / 0.5417 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.0003343/0.8198, allocations: 139.1 kB / 0.7387 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005638/0.8254, allocations: 2.253 MB / 0.7409 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8255, allocations: 0 / 0.7409 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004737/0.8302, allocations: 1.72 MB / 0.7426 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.8312, allocations: 86.27 kB / 0.7427 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.8355, allocations: 1.87 MB / 0.7445 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.8363, allocations: 1.182 MB / 0.7457 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004992/0.8368, allocations: 94.97 kB / 0.7458 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.8371, allocations: 67.42 kB / 0.7458 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.8371, allocations: 0 / 0.7458 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of Templates: time 0.3167/1.154, allocations: 21.67 MB / 0.767 GB, free: 145.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)