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.001793/0.001793, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 239.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000972/0.000972, allocations: 116.2 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.408/0.408, allocations: 78.48 MB / 418.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 497.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2644, allocations: 68.13 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005904/0.2704, allocations: 7.33 MB / 0.5595 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.2739, allocations: 2.181 MB / 0.5616 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.2746, allocations: 19.94 kB / 0.5616 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.2752, allocations: 194.7 kB / 0.5618 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.2767, allocations: 0.6952 MB / 0.5625 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2781, allocations: 0.6925 MB / 0.5632 GB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2791, allocations: 1.647 MB / 0.5648 GB, free: 7.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.2795, allocations: 371 kB / 0.5651 GB, free: 7.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.2802, allocations: 0.6454 MB / 0.5658 GB, free: 6.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.2808, allocations: 0.7931 MB / 0.5665 GB, free: 5.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.281, allocations: 76 kB / 0.5666 GB, free: 5.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.2814, allocations: 211.8 kB / 0.5668 GB, free: 5.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2816, allocations: 290.6 kB / 0.5671 GB, free: 5.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.282, allocations: 0.6715 MB / 0.5677 GB, free: 4.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.283, allocations: 1.732 MB / 0.5694 GB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.283, allocations: 0 / 0.5694 GB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.283, allocations: 0 / 0.5694 GB, free: 2.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.283, allocations: 0 / 0.5694 GB, free: 2.605 MB / 378.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.008394/0.2914, allocations: 2.848 MB / 0.5722 GB, free: 15.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2915, allocations: 12.03 kB / 0.5722 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.2966, allocations: 0.7943 MB / 0.573 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.2982, allocations: 0.9215 MB / 0.5739 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.2986, allocations: 323.6 kB / 0.5742 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.2987, allocations: 92 kB / 0.5743 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.3014, allocations: 1.295 MB / 0.5756 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3014, allocations: 0 / 0.5756 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3015, allocations: 36 kB / 0.5756 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3015, allocations: 20 kB / 0.5756 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.3048, allocations: 1.202 MB / 0.5768 GB, free: 10.88 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3151, allocations: 4.195 MB / 0.5809 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004974/0.3202, allocations: 1.768 MB / 0.5826 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.323, allocations: 0.8601 MB / 0.5834 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.3232, allocations: 16.92 kB / 0.5835 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003017/0.3262, allocations: 0.9622 MB / 0.5844 GB, free: 2.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.469e-06/0.3262, allocations: 0 / 0.5844 GB, free: 2.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.03506/0.3613, allocations: 7.889 MB / 0.5921 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3614, allocations: 119.8 kB / 0.5922 GB, free: 10.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.3629, allocations: 1.041 MB / 0.5932 GB, free: 9.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.363, allocations: 45.7 kB / 0.5933 GB, free: 9.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.3634, allocations: 0.5246 MB / 0.5938 GB, free: 9.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.3638, allocations: 394.4 kB / 0.5942 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.3643, allocations: 239.5 kB / 0.5944 GB, free: 8.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3645, allocations: 361.9 kB / 0.5947 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.3663, allocations: 0.7886 MB / 0.5955 GB, free: 7.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.3682, allocations: 0.9406 MB / 0.5964 GB, free: 6.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02208/0.3903, allocations: 5.493 MB / 0.6018 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3903, allocations: 3.938 kB / 0.6018 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01447/0.4048, allocations: 4.455 MB / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.4049, allocations: 55.41 kB / 0.6062 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4049, allocations: 4.312 kB / 0.6062 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006161/0.4111, allocations: 1.745 MB / 0.6079 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.4125, allocations: 283.6 kB / 0.6082 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.4324, allocations: 8.328 MB / 0.6163 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4342, allocations: 210.8 kB / 0.6165 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.4343, allocations: 51.97 kB / 0.6166 GB, free: 1.387 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-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 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.4349, allocations: 295.8 kB / 0.6168 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4351, allocations: 130.3 kB / 0.617 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/0.4504, allocations: 4.404 MB / 0.6213 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4505, allocations: 12 kB / 0.6213 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4505, allocations: 0 / 0.6213 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.4505, allocations: 7.969 kB / 0.6213 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.468, allocations: 6.271 MB / 0.6274 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.468, allocations: 0 / 0.6274 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.4688, allocations: 127.9 kB / 0.6275 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008893/0.4777, allocations: 1.903 MB / 0.6294 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.4779, allocations: 19.98 kB / 0.6294 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02699/0.5049, allocations: 9.762 MB / 0.6389 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5049, allocations: 0 / 0.6389 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1143/0.6193, allocations: 38.86 MB / 0.6769 GB, free: 2.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.6196, allocations: 223.2 kB / 0.6771 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.6198, allocations: 24 kB / 0.6771 GB, free: 2.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.6212, allocations: 135.8 kB / 0.6773 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/0.6219, allocations: 224.6 kB / 0.6775 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.622, allocations: 31.98 kB / 0.6775 GB, free: 1.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.6231, allocations: 0.7084 MB / 0.6782 GB, free: 1.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6231, allocations: 0 / 0.6782 GB, free: 1.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002191/0.6253, allocations: 0.683 MB / 0.6789 GB, free: 0.5508 MB / 490.7 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.6256, allocations: 132.1 kB / 0.679 GB, free: 424 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.202/0.8276, allocations: 2.684 MB / 0.6816 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8277, allocations: 3.969 kB / 0.6816 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.8331, allocations: 1.837 MB / 0.6834 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.8341, allocations: 132 kB / 0.6835 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.8432, allocations: 4.595 MB / 0.688 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.8439, allocations: 1.206 MB / 0.6892 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005649/0.8445, allocations: 120.4 kB / 0.6893 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.8448, allocations: 79.98 kB / 0.6894 GB, free: 113.6 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8448, allocations: 0 / 0.6894 GB, free: 113.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04136/0.8862, allocations: 37.18 MB / 0.7257 GB, free: 83.91 MB / 490.7 MB 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)