Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.00102/0.00102, 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 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008976/0.0008976, allocations: 105.5 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5106/0.5106, allocations: 78.07 MB / 409.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.422e-05, allocations: 0 / 484.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 69.37 MB / 0.5413 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.6065, allocations: 102 MB / 0.6409 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.6068, allocations: 83.94 kB / 0.641 GB, free: 13.51 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1003/0.7072, allocations: 36.04 MB / 0.6761 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.7072, allocations: 0 / 0.6761 GB, free: 9.523 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.7074, allocations: 31.94 kB / 0.6762 GB, free: 9.492 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.006356/0.7137, allocations: 1.951 MB / 0.6781 GB, free: 7.484 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7138, allocations: 8.031 kB / 0.6781 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.7175, allocations: 0.5757 MB / 0.6787 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.72, allocations: 0.874 MB / 0.6795 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.7205, allocations: 307.6 kB / 0.6798 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.7209, allocations: 55.91 kB / 0.6799 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002189/0.7231, allocations: 0.9217 MB / 0.6808 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.7253, allocations: 0.979 MB / 0.6817 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.7254, allocations: 0 / 0.6817 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.7255, allocations: 3.938 kB / 0.6817 GB, free: 3.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.7255, allocations: 20 kB / 0.6817 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008523/0.734, allocations: 4.079 MB / 0.6857 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.7365, allocations: 1.505 MB / 0.6872 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.7375, allocations: 0.6465 MB / 0.6878 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7377, allocations: 21.23 kB / 0.6878 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.7389, allocations: 0.7464 MB / 0.6886 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.617e-06/0.7389, allocations: 0 / 0.6886 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01513/0.754, allocations: 4.357 MB / 0.6928 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.7542, allocations: 112.2 kB / 0.6929 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.756, allocations: 0.7885 MB / 0.6937 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003975/0.7564, allocations: 25.7 kB / 0.6937 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.7569, allocations: 0.5327 MB / 0.6942 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/0.7576, allocations: 371.4 kB / 0.6946 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7577, allocations: 0 / 0.6946 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7579, allocations: 349.9 kB / 0.6949 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/0.7589, allocations: 0.4908 MB / 0.6954 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.7599, allocations: 0.6269 MB / 0.696 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.7609, allocations: 0.5438 MB / 0.6966 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7609, allocations: 0 / 0.6966 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01331/0.7742, allocations: 4.41 MB / 0.7009 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.7743, allocations: 59.47 kB / 0.7009 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7744, allocations: 9.75 kB / 0.7009 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006174/0.7805, allocations: 1.803 MB / 0.7027 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7819, allocations: 204.6 kB / 0.7029 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.7986, allocations: 7.88 MB / 0.7106 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.8007, allocations: 223 kB / 0.7108 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/0.8011, allocations: 43.95 kB / 0.7108 GB, free: 5.25 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.0005652/0.8016, allocations: 152 kB / 0.711 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/0.8022, allocations: 130.4 kB / 0.7111 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.8163, allocations: 4.477 MB / 0.7155 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.8163, allocations: 16 kB / 0.7155 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8163, allocations: 0 / 0.7155 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.8164, allocations: 3.984 kB / 0.7155 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.8336, allocations: 6.23 MB / 0.7216 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.8336, allocations: 0 / 0.7216 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/0.8345, allocations: 135.8 kB / 0.7217 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.8405, allocations: 1.818 MB / 0.7235 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/0.8408, allocations: 19.92 kB / 0.7235 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.8582, allocations: 8.412 MB / 0.7317 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.8583, allocations: 0 / 0.7317 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/0.8769, allocations: 5.347 MB / 0.7369 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008893/0.8779, allocations: 227.1 kB / 0.7372 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007277/0.8786, allocations: 11.95 kB / 0.7372 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.8806, allocations: 163.8 kB / 0.7373 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.8816, allocations: 232.9 kB / 0.7375 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.8819, allocations: 29.88 kB / 0.7376 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001158/0.883, allocations: 0.5909 MB / 0.7381 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/0.883, allocations: 0 / 0.7381 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002309/0.8854, allocations: 447.4 kB / 0.7386 GB, free: 8.383 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.0004487/0.8858, allocations: 127.1 kB / 0.7387 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006047/0.8919, allocations: 2.251 MB / 0.7409 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8919, allocations: 0 / 0.7409 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.8967, allocations: 1.727 MB / 0.7426 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.8979, allocations: 84.58 kB / 0.7427 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.9026, allocations: 1.873 MB / 0.7445 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009593/0.9036, allocations: 1.182 MB / 0.7456 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005896/0.9042, allocations: 90.98 kB / 0.7457 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.9045, allocations: 63.42 kB / 0.7458 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.9045, allocations: 0 / 0.7458 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of Templates: time 0.359/1.264, allocations: 21.67 MB / 0.767 GB, free: 145.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)