Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001419/0.001419, 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.371/1.371, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008184/0.0008183, allocations: 105.1 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4803/0.4803, allocations: 78.94 MB / 410.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.136e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 69.51 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.5988, allocations: 102.7 MB / 0.6427 GB, free: 11.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5992, allocations: 91.78 kB / 0.6428 GB, free: 11.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09969/0.6989, allocations: 36.74 MB / 0.6786 GB, free: 6.688 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.699, allocations: 0 / 0.6786 GB, free: 6.688 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.236e-05/0.6991, allocations: 35.88 kB / 0.6787 GB, free: 6.652 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.00548/0.7046, allocations: 1.938 MB / 0.6806 GB, free: 4.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7046, allocations: 15.97 kB / 0.6806 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.708, allocations: 0.5734 MB / 0.6811 GB, free: 4.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.7099, allocations: 0.8739 MB / 0.682 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.7103, allocations: 307.6 kB / 0.6823 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.7104, allocations: 51.91 kB / 0.6823 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/0.7122, allocations: 0.9178 MB / 0.6832 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.7139, allocations: 0.979 MB / 0.6842 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.7139, allocations: 0 / 0.6842 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.714, allocations: 3.984 kB / 0.6842 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.714, allocations: 20 kB / 0.6842 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007673/0.7217, allocations: 4.117 MB / 0.6882 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.724, allocations: 1.511 MB / 0.6897 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.7251, allocations: 0.6387 MB / 0.6903 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.7253, allocations: 21.25 kB / 0.6904 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.7267, allocations: 0.7425 MB / 0.6911 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.717e-06/0.7267, allocations: 0 / 0.6911 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01481/0.7415, allocations: 4.361 MB / 0.6953 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.7416, allocations: 116.1 kB / 0.6955 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.743, allocations: 0.7818 MB / 0.6962 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.7432, allocations: 25.7 kB / 0.6962 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.7436, allocations: 0.5366 MB / 0.6968 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.7441, allocations: 370.4 kB / 0.6971 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.7441, allocations: 4 kB / 0.6971 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7443, allocations: 346 kB / 0.6975 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.7451, allocations: 0.4947 MB / 0.6979 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.746, allocations: 0.6153 MB / 0.6985 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.7469, allocations: 0.5399 MB / 0.6991 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7469, allocations: 0 / 0.6991 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01342/0.7603, allocations: 4.406 MB / 0.7034 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.7605, allocations: 63.39 kB / 0.7034 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7605, allocations: 7.938 kB / 0.7034 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/0.7666, allocations: 1.797 MB / 0.7052 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.7678, allocations: 211.7 kB / 0.7054 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.7843, allocations: 7.889 MB / 0.7131 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.7863, allocations: 215 kB / 0.7133 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.7864, allocations: 45.75 kB / 0.7133 GB, free: 2.402 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.0003723/0.7868, allocations: 161.3 kB / 0.7135 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.787, allocations: 126.4 kB / 0.7136 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.8008, allocations: 4.477 MB / 0.718 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.8008, allocations: 12 kB / 0.718 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.8008, allocations: 0 / 0.718 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/0.8009, allocations: 12.81 kB / 0.718 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.8172, allocations: 6.229 MB / 0.7241 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.8172, allocations: 0 / 0.7241 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.8181, allocations: 135.8 kB / 0.7242 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/0.824, allocations: 1.818 MB / 0.726 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.8242, allocations: 11.98 kB / 0.726 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/0.8406, allocations: 8.417 MB / 0.7342 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8406, allocations: 0 / 0.7342 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.8563, allocations: 5.367 MB / 0.7395 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.8569, allocations: 223.2 kB / 0.7397 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.8571, allocations: 3.953 kB / 0.7397 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.8586, allocations: 167.8 kB / 0.7399 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/0.8594, allocations: 240.9 kB / 0.7401 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/0.8595, allocations: 35.92 kB / 0.7401 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009694/0.8605, allocations: 0.587 MB / 0.7407 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8605, allocations: 1.688 kB / 0.7407 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001512/0.8621, allocations: 435.3 kB / 0.7411 GB, free: 5.516 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.0003029/0.8624, allocations: 135.1 kB / 0.7412 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005793/0.8682, allocations: 2.244 MB / 0.7434 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8682, allocations: 0 / 0.7434 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004644/0.8728, allocations: 1.726 MB / 0.7451 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.8737, allocations: 96 kB / 0.7452 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.8776, allocations: 1.864 MB / 0.747 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.8784, allocations: 1.174 MB / 0.7482 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.8788, allocations: 98.95 kB / 0.7483 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.879, allocations: 63.42 kB / 0.7483 GB, free: 14 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.8791, allocations: 0 / 0.7483 GB, free: 14 MB / 0.5573 GB Notification: Performance of Templates: time 0.3121/1.191, allocations: 21.66 MB / 0.7695 GB, free: 144.1 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)