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.008728/0.008728, allocations: 169.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001072/0.001072, allocations: 82.86 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06767/0.06767, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.427/0.427, allocations: 78.51 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005112, allocations: 18.94 kB / 0.5285 GB, free: 34.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 69.33 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5949, allocations: 104.4 MB / 0.6981 GB, free: 36.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5952, allocations: 87.08 kB / 0.6982 GB, free: 36.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09204/0.6873, allocations: 35.55 MB / 0.7329 GB, free: 32.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6873, allocations: 0 / 0.7329 GB, free: 32.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6874, allocations: 31.56 kB / 0.733 GB, free: 32.73 MB / 474.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.006349/0.6938, allocations: 2.22 MB / 0.7351 GB, free: 31.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6938, allocations: 15.77 kB / 0.7351 GB, free: 31.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.6973, allocations: 0.581 MB / 0.7357 GB, free: 31.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.6997, allocations: 0.9151 MB / 0.7366 GB, free: 30.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.7, allocations: 337.1 kB / 0.7369 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.7004, allocations: 90.19 kB / 0.737 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.7041, allocations: 1.359 MB / 0.7383 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.7042, allocations: 3.938 kB / 0.7383 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.7044, allocations: 37.69 kB / 0.7384 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.7044, allocations: 19.53 kB / 0.7384 GB, free: 30.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.7071, allocations: 1.282 MB / 0.7396 GB, free: 30 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007176/0.7143, allocations: 4.237 MB / 0.7438 GB, free: 27.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.7173, allocations: 1.862 MB / 0.7456 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.7174, allocations: 24.58 kB / 0.7456 GB, free: 27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.7192, allocations: 1.035 MB / 0.7466 GB, free: 26.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.827e-06/0.7192, allocations: 0 / 0.7466 GB, free: 26.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.03187/0.7511, allocations: 9.293 MB / 0.7557 GB, free: 23.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.7512, allocations: 119.5 kB / 0.7558 GB, free: 23.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.753, allocations: 0.8836 MB / 0.7567 GB, free: 23.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.7533, allocations: 46.77 kB / 0.7567 GB, free: 23.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.7536, allocations: 0.5355 MB / 0.7573 GB, free: 22.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005144/0.7541, allocations: 378.1 kB / 0.7576 GB, free: 22.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.7543, allocations: 29.86 kB / 0.7576 GB, free: 22.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.7544, allocations: 346.8 kB / 0.758 GB, free: 22.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.7558, allocations: 0.7613 MB / 0.7587 GB, free: 22.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.7574, allocations: 0.899 MB / 0.7596 GB, free: 21.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.759, allocations: 0.8677 MB / 0.7604 GB, free: 21.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.759, allocations: 0 / 0.7604 GB, free: 21.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01305/0.7721, allocations: 5.153 MB / 0.7655 GB, free: 20.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.7722, allocations: 67.16 kB / 0.7655 GB, free: 20.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7722, allocations: 7.859 kB / 0.7656 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006063/0.7783, allocations: 2.149 MB / 0.7677 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.7795, allocations: 215.4 kB / 0.7679 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.7991, allocations: 10.19 MB / 0.7778 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.8012, allocations: 230 kB / 0.778 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.8015, allocations: 47.11 kB / 0.7781 GB, free: 15.59 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.8026, allocations: 288.2 kB / 0.7783 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.803, allocations: 130.4 kB / 0.7785 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.8173, allocations: 5.332 MB / 0.7837 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8174, allocations: 8 kB / 0.7837 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8174, allocations: 4 kB / 0.7837 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.8174, allocations: 3.984 kB / 0.7837 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.8346, allocations: 7.156 MB / 0.7907 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.8347, allocations: 4 kB / 0.7907 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.8355, allocations: 131.1 kB / 0.7908 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006185/0.8417, allocations: 2.212 MB / 0.793 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.842, allocations: 29.73 kB / 0.793 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/0.8661, allocations: 11.17 MB / 0.8039 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8662, allocations: 0 / 0.8039 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.8844, allocations: 6.43 MB / 0.8102 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.885, allocations: 223.2 kB / 0.8104 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.8854, allocations: 20 kB / 0.8104 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.887, allocations: 187.8 kB / 0.8106 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007697/0.8878, allocations: 232.6 kB / 0.8108 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.8879, allocations: 28.09 kB / 0.8108 GB, free: 192 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.8893, allocations: 0.6966 MB / 0.8115 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8893, allocations: 4 kB / 0.8115 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001755/0.8911, allocations: 483.3 kB / 0.812 GB, free: 15.01 MB / 0.4949 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 () * Number of clocked 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.0003546/0.8915, allocations: 148.6 kB / 0.8121 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007098/0.8986, allocations: 2.844 MB / 0.8149 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8986, allocations: 4 kB / 0.8149 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005384/0.904, allocations: 2.081 MB / 0.8169 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.905, allocations: 104.6 kB / 0.817 GB, free: 9.75 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.9108, allocations: 2.966 MB / 0.8199 GB, free: 6.766 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009539/0.9118, allocations: 1.186 MB / 0.8211 GB, free: 5.547 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005587/0.9124, allocations: 103 kB / 0.8212 GB, free: 5.441 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.9127, allocations: 59.42 kB / 0.8212 GB, free: 5.383 MB / 0.4949 GB Notification: Performance of SimCode: time 1.012e-06/0.9127, allocations: 0 / 0.8212 GB, free: 5.383 MB / 0.4949 GB Notification: Performance of Templates: time 0.04244/0.9552, allocations: 23.28 MB / 0.844 GB, free: 14.11 MB / 0.5261 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)