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.002557/0.002557, allocations: 179.3 kB / 15.78 MB, free: 5.977 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.558/1.558, allocations: 223.3 MB / 239.8 MB, free: 1.738 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.001052/0.001052, allocations: 92.2 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5403/0.5403, allocations: 78.61 MB / 420.7 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.0006289, allocations: 12 kB / 0.4888 GB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4629, allocations: 69.34 MB / 0.5565 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.005815/0.4688, allocations: 5.391 MB / 0.5618 GB, free: 37.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.4728, allocations: 2.073 MB / 0.5638 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.4736, allocations: 9.688 kB / 0.5638 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.4742, allocations: 172.5 kB / 0.564 GB, free: 36.39 MB / 426.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.001669/0.4759, allocations: 0.6052 MB / 0.5646 GB, free: 36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4772, allocations: 0.5015 MB / 0.565 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.4791, allocations: 1.576 MB / 0.5666 GB, free: 34.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.4795, allocations: 244.4 kB / 0.5668 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009417/0.4804, allocations: 0.5714 MB / 0.5674 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.4812, allocations: 0.6696 MB / 0.568 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.4814, allocations: 60.09 kB / 0.5681 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.4819, allocations: 184.8 kB / 0.5683 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.4821, allocations: 249.7 kB / 0.5685 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4823, allocations: 232.4 kB / 0.5687 GB, free: 34.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.4834, allocations: 1.474 MB / 0.5702 GB, free: 33.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4834, allocations: 2.969 kB / 0.5702 GB, free: 33.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4834, allocations: 0 / 0.5702 GB, free: 33.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4835, allocations: 0 / 0.5702 GB, free: 33.63 MB / 426.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.006288/0.4898, allocations: 2.092 MB / 0.5722 GB, free: 32.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4898, allocations: 12.75 kB / 0.5722 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.4931, allocations: 0.5606 MB / 0.5728 GB, free: 32.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.495, allocations: 0.9594 MB / 0.5737 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.4952, allocations: 244.2 kB / 0.5739 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4954, allocations: 74.53 kB / 0.574 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4973, allocations: 1.007 MB / 0.575 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4973, allocations: 0 / 0.575 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.4974, allocations: 25.75 kB / 0.575 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4974, allocations: 17.41 kB / 0.575 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.4993, allocations: 0.9629 MB / 0.576 GB, free: 30.91 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 preOpt removeSimpleEquations (simulation): time 0.006253/0.5055, allocations: 3.693 MB / 0.5796 GB, free: 28.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.5196, allocations: 4.277 MB / 0.5838 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.5213, allocations: 0.6205 MB / 0.5844 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.804e-05/0.5214, allocations: 17.06 kB / 0.5844 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5214, allocations: 51.05 kB / 0.5844 GB, free: 27.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 3.236e-06/0.5214, allocations: 0 / 0.5844 GB, free: 27.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.0143/0.5357, allocations: 4.556 MB / 0.5889 GB, free: 26.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5358, allocations: 112.6 kB / 0.589 GB, free: 26.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.5384, allocations: 1.169 MB / 0.5901 GB, free: 25.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003443/0.5387, allocations: 40.73 kB / 0.5902 GB, free: 25.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.5392, allocations: 469.2 kB / 0.5906 GB, free: 25.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.5395, allocations: 282.8 kB / 0.5909 GB, free: 25.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.5396, allocations: 23.28 kB / 0.5909 GB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5397, allocations: 345.1 kB / 0.5912 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5413, allocations: 0.6895 MB / 0.5919 GB, free: 24.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.543, allocations: 0.8192 MB / 0.5927 GB, free: 24.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.5447, allocations: 0.7504 MB / 0.5934 GB, free: 23.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5447, allocations: 0 / 0.5934 GB, free: 23.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009115/0.5538, allocations: 3.123 MB / 0.5965 GB, free: 23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.5539, allocations: 135.5 kB / 0.5966 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5539, allocations: 5.172 kB / 0.5966 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/0.5585, allocations: 1.203 MB / 0.5978 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5599, allocations: 222.2 kB / 0.598 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.571, allocations: 5.103 MB / 0.603 GB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.5737, allocations: 195.7 kB / 0.6032 GB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.574, allocations: 45.97 kB / 0.6032 GB, free: 19.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.574, allocations: 7.859 kB / 0.6032 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009542/0.5835, allocations: 2.934 MB / 0.6061 GB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.5836, allocations: 1.781 kB / 0.6061 GB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/0.5883, allocations: 1.202 MB / 0.6073 GB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.5897, allocations: 212.1 kB / 0.6075 GB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.6004, allocations: 5.1 MB / 0.6125 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.6024, allocations: 175.9 kB / 0.6126 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.6027, allocations: 39.33 kB / 0.6127 GB, free: 15.67 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008336/0.6036, allocations: 352.3 kB / 0.613 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.604, allocations: 115.2 kB / 0.6131 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007616/0.6116, allocations: 2.648 MB / 0.6157 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6117, allocations: 12.64 kB / 0.6157 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.6117, allocations: 4 kB / 0.6157 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.6117, allocations: 3.656 kB / 0.6157 GB, free: 13.04 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.00945/0.6212, allocations: 4.222 MB / 0.6198 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6212, allocations: 0 / 0.6198 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.622, allocations: 115.8 kB / 0.6199 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/0.6255, allocations: 1.086 MB / 0.621 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.6256, allocations: 20 kB / 0.621 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.6335, allocations: 4.135 MB / 0.6251 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6335, allocations: 4 kB / 0.6251 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008907/0.6424, allocations: 3.443 MB / 0.6284 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.6431, allocations: 235.4 kB / 0.6287 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.6435, allocations: 20 kB / 0.6287 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.645, allocations: 131.9 kB / 0.6288 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/0.6455, allocations: 128.4 kB / 0.6289 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.6456, allocations: 20 kB / 0.6289 GB, free: 15.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001814/0.6474, allocations: 0.8114 MB / 0.6297 GB, free: 14.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6474, allocations: 0 / 0.6297 GB, free: 14.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002386/0.6498, allocations: 0.593 MB / 0.6303 GB, free: 13.89 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/0.6501, allocations: 135.1 kB / 0.6304 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01001/0.6601, allocations: 3.869 MB / 0.6342 GB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6602, allocations: 0 / 0.6342 GB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00349/0.6637, allocations: 1.369 MB / 0.6356 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.6651, allocations: 117.6 kB / 0.6357 GB, free: 8.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.6704, allocations: 2.782 MB / 0.6384 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.6712, allocations: 1.09 MB / 0.6394 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.6717, allocations: 71.42 kB / 0.6395 GB, free: 4.227 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6717, allocations: 0 / 0.6395 GB, free: 4.227 MB / 442.7 MB Notification: Performance of Templates: time 0.03746/0.7092, allocations: 29.92 MB / 0.6687 GB, free: 6.309 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)