Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 175.8 kB / 16.07 MB, free: 5.586 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.466/1.466, allocations: 222.8 MB / 239.7 MB, free: 10.16 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.000735/0.0007351, allocations: 88.64 kB / 290.4 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4369/0.4369, allocations: 78.42 MB / 419.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 8.219 kB / 499.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2732, allocations: 68.74 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.005338/0.2786, allocations: 6.191 MB / 0.5605 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2823, allocations: 2.172 MB / 0.5627 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.2829, allocations: 12 kB / 0.5627 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.2835, allocations: 190.9 kB / 0.5629 GB, free: 11.61 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001335/0.2849, allocations: 0.6894 MB / 0.5635 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2859, allocations: 0.6666 MB / 0.5642 GB, free: 10.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.287, allocations: 1.687 MB / 0.5658 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.2873, allocations: 274.2 kB / 0.5661 GB, free: 8.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.2878, allocations: 0.5561 MB / 0.5666 GB, free: 7.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.2883, allocations: 0.6882 MB / 0.5673 GB, free: 7.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2885, allocations: 64 kB / 0.5674 GB, free: 6.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.2888, allocations: 187.9 kB / 0.5675 GB, free: 6.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.289, allocations: 258.8 kB / 0.5678 GB, free: 6.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.2893, allocations: 0.5551 MB / 0.5683 GB, free: 5.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.2902, allocations: 1.48 MB / 0.5698 GB, free: 4.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2902, allocations: 0 / 0.5698 GB, free: 4.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2902, allocations: 0 / 0.5698 GB, free: 4.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2902, allocations: 0 / 0.5698 GB, free: 4.492 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005548/0.2957, allocations: 2.033 MB / 0.5718 GB, free: 2.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2958, allocations: 8.031 kB / 0.5718 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.2992, allocations: 0.5458 MB / 0.5723 GB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.3009, allocations: 1.003 MB / 0.5733 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.3011, allocations: 239.5 kB / 0.5735 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3013, allocations: 75.98 kB / 0.5736 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.303, allocations: 0.9603 MB / 0.5745 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.303, allocations: 3.938 kB / 0.5745 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.3031, allocations: 28 kB / 0.5746 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.3031, allocations: 16 kB / 0.5746 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.305, allocations: 0.9109 MB / 0.5755 GB, free: 14.51 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.005979/0.311, allocations: 3.646 MB / 0.579 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.324, allocations: 3.27 MB / 0.5822 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.3253, allocations: 0.5845 MB / 0.5828 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.3254, allocations: 16.59 kB / 0.5828 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3255, allocations: 43.14 kB / 0.5828 GB, free: 6.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 4.008e-06/0.3255, allocations: 0 / 0.5828 GB, free: 6.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01292/0.3384, allocations: 3.881 MB / 0.5866 GB, free: 2.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3385, allocations: 111.5 kB / 0.5867 GB, free: 2.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.3406, allocations: 1.165 MB / 0.5879 GB, free: 1.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.3407, allocations: 45.64 kB / 0.5879 GB, free: 1.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.3411, allocations: 468.5 kB / 0.5884 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.3414, allocations: 288 kB / 0.5886 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3416, allocations: 101.7 kB / 0.5887 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3417, allocations: 345.9 kB / 0.5891 GB, free: 256 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3431, allocations: 0.6508 MB / 0.5897 GB, free: 15.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3445, allocations: 0.7752 MB / 0.5905 GB, free: 14.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.3472, allocations: 1.363 MB / 0.5918 GB, free: 13.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.3472, allocations: 3.938 kB / 0.5918 GB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.007938/0.3551, allocations: 2.758 MB / 0.5945 GB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.3553, allocations: 139.4 kB / 0.5946 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3553, allocations: 3.984 kB / 0.5946 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/0.3594, allocations: 1.054 MB / 0.5957 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3606, allocations: 219.7 kB / 0.5959 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/0.3704, allocations: 4.72 MB / 0.6005 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.3721, allocations: 171 kB / 0.6006 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.3722, allocations: 39.98 kB / 0.6007 GB, free: 4.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.3722, allocations: 4 kB / 0.6007 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007348/0.3796, allocations: 2.586 MB / 0.6032 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3796, allocations: 0 / 0.6032 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/0.3837, allocations: 1.042 MB / 0.6042 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3849, allocations: 211.7 kB / 0.6044 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.3945, allocations: 4.715 MB / 0.609 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.3962, allocations: 155.1 kB / 0.6092 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3963, allocations: 39.98 kB / 0.6092 GB, free: 11.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000622/0.3969, allocations: 358.7 kB / 0.6096 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.3971, allocations: 110.6 kB / 0.6097 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/0.4035, allocations: 2.279 MB / 0.6119 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4035, allocations: 8 kB / 0.6119 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4035, allocations: 4 kB / 0.6119 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.4036, allocations: 7.922 kB / 0.6119 GB, free: 8.434 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.008655/0.4122, allocations: 3.869 MB / 0.6157 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.4123, allocations: 0 / 0.6157 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.4131, allocations: 111.9 kB / 0.6158 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/0.4164, allocations: 0.9333 MB / 0.6167 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.4165, allocations: 27.98 kB / 0.6167 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007579/0.4241, allocations: 3.787 MB / 0.6204 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4242, allocations: 4 kB / 0.6204 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008018/0.4322, allocations: 3.04 MB / 0.6234 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.4327, allocations: 219.7 kB / 0.6236 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.4329, allocations: 31.92 kB / 0.6236 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.434, allocations: 103.8 kB / 0.6237 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/0.4344, allocations: 128.4 kB / 0.6239 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.4344, allocations: 20 kB / 0.6239 GB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001491/0.4359, allocations: 0.8231 MB / 0.6247 GB, free: 11.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4359, allocations: 0 / 0.6247 GB, free: 11.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001774/0.4377, allocations: 0.5891 MB / 0.6253 GB, free: 10.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.438, allocations: 135.1 kB / 0.6254 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008557/0.4466, allocations: 3.563 MB / 0.6289 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4466, allocations: 3.938 kB / 0.6289 GB, free: 6.641 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.4498, allocations: 1.24 MB / 0.6301 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4509, allocations: 104.4 kB / 0.6302 GB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.4557, allocations: 2.73 MB / 0.6329 GB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.4564, allocations: 1.094 MB / 0.6339 GB, free: 1.355 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.4568, allocations: 71.42 kB / 0.634 GB, free: 1.285 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4568, allocations: 0 / 0.634 GB, free: 1.285 MB / 442.7 MB Notification: Performance of Templates: time 0.03308/0.4899, allocations: 29.92 MB / 0.6632 GB, free: 3.348 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)