Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 239 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 172.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5011/0.5011, allocations: 78.55 MB / 419.9 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005903, allocations: 16 kB / 499.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1557, allocations: 69.36 MB / 0.5558 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.2979/0.4536, allocations: 5.388 MB / 0.5611 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.4579, allocations: 2.057 MB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009322/0.4589, allocations: 11.59 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007077/0.4596, allocations: 176.5 kB / 0.5632 GB, free: 37.07 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001764/0.4614, allocations: 0.6068 MB / 0.5638 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.4626, allocations: 0.5086 MB / 0.5643 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.4644, allocations: 1.575 MB / 0.5659 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.4648, allocations: 241.9 kB / 0.5661 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.4656, allocations: 0.5645 MB / 0.5667 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.4664, allocations: 0.6703 MB / 0.5673 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4665, allocations: 60.69 kB / 0.5674 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.467, allocations: 182.7 kB / 0.5675 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.4672, allocations: 248.5 kB / 0.5678 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.4675, allocations: 227.1 kB / 0.568 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4688, allocations: 1.479 MB / 0.5694 GB, free: 36.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4688, allocations: 3.281 kB / 0.5694 GB, free: 36.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4688, allocations: 0 / 0.5694 GB, free: 36.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.4688, allocations: 0 / 0.5694 GB, free: 36.06 MB / 430.1 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.005946/0.4748, allocations: 2.093 MB / 0.5715 GB, free: 35.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4748, allocations: 8.688 kB / 0.5715 GB, free: 35.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.4781, allocations: 0.5582 MB / 0.572 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.4801, allocations: 0.9684 MB / 0.573 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.4804, allocations: 245.5 kB / 0.5732 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4806, allocations: 77.09 kB / 0.5733 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.4825, allocations: 1.002 MB / 0.5743 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4826, allocations: 0.8438 kB / 0.5743 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.4827, allocations: 29.38 kB / 0.5743 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.4827, allocations: 15.06 kB / 0.5743 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4845, allocations: 0.9603 MB / 0.5753 GB, free: 34.13 MB / 430.1 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.005743/0.4902, allocations: 3.699 MB / 0.5789 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.5026, allocations: 4.272 MB / 0.583 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.5043, allocations: 0.6204 MB / 0.5836 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.5044, allocations: 17.27 kB / 0.5837 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5044, allocations: 46.48 kB / 0.5837 GB, free: 30.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/0.5044, allocations: 1.344 kB / 0.5837 GB, free: 30.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01363/0.5181, allocations: 4.555 MB / 0.5882 GB, free: 29.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.5182, allocations: 111.6 kB / 0.5883 GB, free: 29.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.5207, allocations: 1.162 MB / 0.5894 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002303/0.5209, allocations: 43.39 kB / 0.5894 GB, free: 29.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.5213, allocations: 468 kB / 0.5899 GB, free: 28.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.5216, allocations: 288.6 kB / 0.5902 GB, free: 28.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.5217, allocations: 19.88 kB / 0.5902 GB, free: 28.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.5218, allocations: 349 kB / 0.5905 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5232, allocations: 0.7004 MB / 0.5912 GB, free: 27.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.5247, allocations: 0.8136 MB / 0.592 GB, free: 27.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.5262, allocations: 0.7458 MB / 0.5927 GB, free: 27.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5262, allocations: 0.8125 kB / 0.5927 GB, free: 27.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008627/0.5348, allocations: 3.126 MB / 0.5958 GB, free: 26.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.5349, allocations: 135.4 kB / 0.5959 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.535, allocations: 2.656 kB / 0.5959 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/0.5392, allocations: 1.205 MB / 0.5971 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.5405, allocations: 223.5 kB / 0.5973 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009744/0.5503, allocations: 5.108 MB / 0.6023 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.5521, allocations: 195.9 kB / 0.6025 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5522, allocations: 37.66 kB / 0.6025 GB, free: 23.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.5522, allocations: 3.969 kB / 0.6025 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00774/0.56, allocations: 2.933 MB / 0.6054 GB, free: 22.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.56, allocations: 6.094 kB / 0.6054 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.5642, allocations: 1.203 MB / 0.6066 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5654, allocations: 210.5 kB / 0.6068 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009756/0.5752, allocations: 5.101 MB / 0.6117 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.5769, allocations: 178.8 kB / 0.6119 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.577, allocations: 41.08 kB / 0.6119 GB, free: 19.23 MB / 430.1 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.0006851/0.5777, allocations: 347.8 kB / 0.6123 GB, free: 18.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.578, allocations: 115.9 kB / 0.6124 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006404/0.5844, allocations: 2.648 MB / 0.615 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.5844, allocations: 8 kB / 0.615 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5844, allocations: 4 kB / 0.615 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.5844, allocations: 3.891 kB / 0.615 GB, free: 16.93 MB / 430.1 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.007567/0.592, allocations: 4.225 MB / 0.6191 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.592, allocations: 1.25 kB / 0.6191 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.5927, allocations: 119.8 kB / 0.6192 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002815/0.5955, allocations: 1.081 MB / 0.6203 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.5956, allocations: 24 kB / 0.6203 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006524/0.6022, allocations: 4.136 MB / 0.6243 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6022, allocations: 0 / 0.6243 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007026/0.6092, allocations: 3.444 MB / 0.6277 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.6096, allocations: 231.4 kB / 0.6279 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6097, allocations: 20 kB / 0.628 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.6107, allocations: 136 kB / 0.6281 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.611, allocations: 132.4 kB / 0.6282 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.6111, allocations: 21.78 kB / 0.6282 GB, free: 3.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00126/0.6123, allocations: 0.8192 MB / 0.629 GB, free: 2.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6124, allocations: 0 / 0.629 GB, free: 2.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00162/0.614, allocations: 0.593 MB / 0.6296 GB, free: 1.836 MB / 430.1 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.0002245/0.6142, allocations: 124.6 kB / 0.6297 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007938/0.6222, allocations: 3.872 MB / 0.6335 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6222, allocations: 384 / 0.6335 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.6251, allocations: 1.381 MB / 0.6349 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.626, allocations: 109.9 kB / 0.635 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.6303, allocations: 2.722 MB / 0.6376 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.631, allocations: 1.086 MB / 0.6387 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006455/0.6316, allocations: 155.1 kB / 0.6388 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.6319, allocations: 71.42 kB / 0.6389 GB, free: 8.141 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6319, allocations: 0 / 0.6389 GB, free: 8.141 MB / 446.1 MB Notification: Performance of Templates: time 0.02941/0.6613, allocations: 20.67 MB / 0.6591 GB, free: 3.684 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1) Environment - environmentSimulation: