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.005309/0.005309, allocations: 167.7 kB / 15.13 MB, free: 6.023 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.354/1.354, allocations: 223.3 MB / 239.1 MB, free: 1.734 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.0007317/0.0007319, allocations: 89.64 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4555/0.4555, allocations: 78.62 MB / 420 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004423, allocations: 8 kB / 499.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 69.36 MB / 0.5559 GB, free: 38.7 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.006127/0.4084, allocations: 5.384 MB / 0.5612 GB, free: 37.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.413, allocations: 2.057 MB / 0.5632 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008762/0.4139, allocations: 10.53 kB / 0.5632 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.4147, allocations: 182.4 kB / 0.5634 GB, free: 36.37 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.00178/0.4165, allocations: 0.6056 MB / 0.5639 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.4178, allocations: 0.4994 MB / 0.5644 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4197, allocations: 1.575 MB / 0.566 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.4201, allocations: 248.7 kB / 0.5662 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008829/0.421, allocations: 0.5638 MB / 0.5668 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007994/0.4218, allocations: 0.6769 MB / 0.5674 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.422, allocations: 59.81 kB / 0.5675 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.4225, allocations: 184.8 kB / 0.5677 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.4227, allocations: 253.7 kB / 0.5679 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.423, allocations: 223.8 kB / 0.5681 GB, free: 33.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.4241, allocations: 1.479 MB / 0.5696 GB, free: 33.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4242, allocations: 0 / 0.5696 GB, free: 33.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4242, allocations: 0 / 0.5696 GB, free: 33.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4242, allocations: 0 / 0.5696 GB, free: 33.61 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.006332/0.4305, allocations: 2.1 MB / 0.5716 GB, free: 32.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4306, allocations: 8.969 kB / 0.5716 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.4337, allocations: 0.5512 MB / 0.5721 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.4355, allocations: 0.9635 MB / 0.5731 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.4358, allocations: 241.3 kB / 0.5733 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.4359, allocations: 78.38 kB / 0.5734 GB, free: 31.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.4378, allocations: 1.011 MB / 0.5744 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4378, allocations: 0 / 0.5744 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.4379, allocations: 26.06 kB / 0.5744 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4379, allocations: 15.03 kB / 0.5744 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4397, allocations: 0.9731 MB / 0.5754 GB, free: 30.88 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.00582/0.4456, allocations: 3.678 MB / 0.579 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/0.4602, allocations: 4.279 MB / 0.5831 GB, free: 28.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.4619, allocations: 0.6226 MB / 0.5837 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/0.462, allocations: 12.95 kB / 0.5838 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.462, allocations: 42.08 kB / 0.5838 GB, free: 27.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 2.986e-06/0.462, allocations: 3.938 kB / 0.5838 GB, free: 27.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01417/0.4762, allocations: 4.561 MB / 0.5883 GB, free: 26.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4763, allocations: 113.3 kB / 0.5884 GB, free: 26.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.4782, allocations: 1.168 MB / 0.5895 GB, free: 25.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.4783, allocations: 40.8 kB / 0.5895 GB, free: 25.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4786, allocations: 465.2 kB / 0.59 GB, free: 25.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.4788, allocations: 290.4 kB / 0.5903 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.4789, allocations: 19.41 kB / 0.5903 GB, free: 25.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.479, allocations: 352.2 kB / 0.5906 GB, free: 24.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.4804, allocations: 0.6875 MB / 0.5913 GB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.482, allocations: 0.8182 MB / 0.5921 GB, free: 24.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.4837, allocations: 0.7496 MB / 0.5928 GB, free: 23.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4837, allocations: 1.375 kB / 0.5928 GB, free: 23.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008871/0.4926, allocations: 3.12 MB / 0.5959 GB, free: 22.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.4927, allocations: 139.7 kB / 0.596 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4927, allocations: 5.172 kB / 0.596 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.4972, allocations: 1.2 MB / 0.5972 GB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4985, allocations: 226.5 kB / 0.5974 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.5094, allocations: 5.101 MB / 0.6024 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.5115, allocations: 197.2 kB / 0.6026 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5116, allocations: 41.75 kB / 0.6026 GB, free: 19.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5116, allocations: 7.922 kB / 0.6026 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008798/0.5204, allocations: 2.929 MB / 0.6055 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5205, allocations: 4.938 kB / 0.6055 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/0.5254, allocations: 1.204 MB / 0.6067 GB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5268, allocations: 210.1 kB / 0.6069 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.5379, allocations: 5.099 MB / 0.6118 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.5399, allocations: 175.6 kB / 0.612 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.54, allocations: 40.2 kB / 0.612 GB, free: 15.63 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.0006393/0.5407, allocations: 349.9 kB / 0.6124 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.5409, allocations: 122.5 kB / 0.6125 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007234/0.5481, allocations: 2.641 MB / 0.6151 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5482, allocations: 8 kB / 0.6151 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.5482, allocations: 4.656 kB / 0.6151 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.5482, allocations: 3.422 kB / 0.6151 GB, free: 13.01 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.009339/0.5575, allocations: 4.235 MB / 0.6192 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.5576, allocations: 3.938 kB / 0.6192 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.5584, allocations: 107.9 kB / 0.6193 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/0.5616, allocations: 1.089 MB / 0.6204 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5617, allocations: 20 kB / 0.6204 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007275/0.569, allocations: 4.131 MB / 0.6244 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.569, allocations: 0 / 0.6244 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008293/0.5773, allocations: 3.451 MB / 0.6278 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/0.578, allocations: 231.4 kB / 0.628 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5782, allocations: 24 kB / 0.6281 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5795, allocations: 127.9 kB / 0.6282 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/0.5799, allocations: 132.4 kB / 0.6283 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.5799, allocations: 20 kB / 0.6283 GB, free: 15.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001592/0.5815, allocations: 0.8114 MB / 0.6291 GB, free: 14.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5816, allocations: 4 kB / 0.6291 GB, free: 14.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001845/0.5834, allocations: 0.5852 MB / 0.6297 GB, free: 13.86 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.0002917/0.5837, allocations: 141.8 kB / 0.6298 GB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009452/0.5932, allocations: 3.873 MB / 0.6336 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.5932, allocations: 0 / 0.6336 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.5967, allocations: 1.369 MB / 0.635 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5978, allocations: 111 kB / 0.6351 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.6025, allocations: 2.737 MB / 0.6377 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.6033, allocations: 1.082 MB / 0.6388 GB, free: 4.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007349/0.604, allocations: 146.9 kB / 0.6389 GB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.6043, allocations: 71.36 kB / 0.639 GB, free: 4.105 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6043, allocations: 3.938 kB / 0.639 GB, free: 4.102 MB / 442.7 MB Notification: Performance of Templates: time 0.03344/0.6378, allocations: 20.68 MB / 0.6592 GB, free: 15.49 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)