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.001169/0.00117, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.262/1.262, allocations: 223.2 MB / 238.9 MB, free: 5.668 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.001192/0.001192, allocations: 181 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4527/0.4527, allocations: 78.52 MB / 419.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003628, allocations: 12 kB / 499.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 69.36 MB / 0.5557 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS): time 0.2267/0.3591, allocations: 5.144 MB / 0.5607 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.3629, allocations: 2.083 MB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.364, allocations: 11.69 kB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.3649, allocations: 165.4 kB / 0.5629 GB, free: 37.06 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.002158/0.367, allocations: 0.6596 MB / 0.5636 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3684, allocations: 0.5026 MB / 0.564 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.3707, allocations: 1.012 MB / 0.565 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.3712, allocations: 241.2 kB / 0.5653 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009751/0.3722, allocations: 0.5705 MB / 0.5658 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007573/0.3729, allocations: 0.6498 MB / 0.5665 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.3731, allocations: 57.5 kB / 0.5665 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.3736, allocations: 175.5 kB / 0.5667 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.3738, allocations: 248.7 kB / 0.5669 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.3741, allocations: 225.6 kB / 0.5671 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3752, allocations: 1.452 MB / 0.5685 GB, free: 36.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.3752, allocations: 0 / 0.5685 GB, free: 36.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3752, allocations: 1.406 kB / 0.5685 GB, free: 36.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3753, allocations: 0 / 0.5685 GB, free: 36.45 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.006277/0.3815, allocations: 2.092 MB / 0.5706 GB, free: 35.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3816, allocations: 11.34 kB / 0.5706 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.3849, allocations: 0.5538 MB / 0.5711 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3868, allocations: 0.961 MB / 0.5721 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.387, allocations: 245.4 kB / 0.5723 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.3872, allocations: 77.14 kB / 0.5724 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.3891, allocations: 1.011 MB / 0.5734 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3891, allocations: 0 / 0.5734 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.3892, allocations: 25.91 kB / 0.5734 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3892, allocations: 15.16 kB / 0.5734 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.391, allocations: 0.9707 MB / 0.5744 GB, free: 34.46 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.005481/0.3965, allocations: 3.781 MB / 0.5781 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.4098, allocations: 4.279 MB / 0.5822 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.4101, allocations: 15.03 kB / 0.5822 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4101, allocations: 41.55 kB / 0.5823 GB, free: 31.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.617e-06/0.4101, allocations: 0 / 0.5823 GB, free: 31.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01395/0.4241, allocations: 4.559 MB / 0.5867 GB, free: 30.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4242, allocations: 115.5 kB / 0.5868 GB, free: 30.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.4263, allocations: 1.159 MB / 0.588 GB, free: 29.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.4265, allocations: 45.52 kB / 0.588 GB, free: 29.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4268, allocations: 463.8 kB / 0.5885 GB, free: 29.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.4271, allocations: 288.4 kB / 0.5887 GB, free: 29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.4272, allocations: 25.09 kB / 0.5888 GB, free: 28.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.4273, allocations: 345 kB / 0.5891 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.4287, allocations: 0.6896 MB / 0.5898 GB, free: 28.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.4301, allocations: 0.8181 MB / 0.5906 GB, free: 28.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.4316, allocations: 0.7483 MB / 0.5913 GB, free: 27.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.4316, allocations: 1.469 kB / 0.5913 GB, free: 27.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008483/0.4401, allocations: 3.115 MB / 0.5943 GB, free: 26.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.4403, allocations: 0.622 MB / 0.5949 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4403, allocations: 1.375 kB / 0.5949 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004515/0.4448, allocations: 1.21 MB / 0.5961 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.4462, allocations: 223.9 kB / 0.5963 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.4568, allocations: 5.307 MB / 0.6015 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.4587, allocations: 199.7 kB / 0.6017 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.4588, allocations: 42.86 kB / 0.6018 GB, free: 23.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.4589, allocations: 2.656 kB / 0.6018 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008485/0.4673, allocations: 2.929 MB / 0.6046 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4674, allocations: 1.469 kB / 0.6046 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/0.472, allocations: 1.204 MB / 0.6058 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4733, allocations: 215.8 kB / 0.606 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.4845, allocations: 5.302 MB / 0.6112 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4864, allocations: 174 kB / 0.6113 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.4866, allocations: 36.86 kB / 0.6114 GB, free: 19.11 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.0007785/0.4874, allocations: 353.7 kB / 0.6117 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.4878, allocations: 116.9 kB / 0.6118 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007363/0.4952, allocations: 2.645 MB / 0.6144 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4952, allocations: 9.078 kB / 0.6144 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.4952, allocations: 4 kB / 0.6144 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4952, allocations: 7.172 kB / 0.6144 GB, free: 17.23 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.008777/0.504, allocations: 4.229 MB / 0.6186 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5041, allocations: 4.031 kB / 0.6186 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.5048, allocations: 115.8 kB / 0.6187 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.508, allocations: 1.083 MB / 0.6197 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.5081, allocations: 16 kB / 0.6197 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007522/0.5156, allocations: 4.314 MB / 0.624 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.5157, allocations: 0.9375 kB / 0.624 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007917/0.5236, allocations: 3.453 MB / 0.6273 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.5242, allocations: 239.5 kB / 0.6276 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.5245, allocations: 16 kB / 0.6276 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.5259, allocations: 131.9 kB / 0.6277 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.5263, allocations: 128.4 kB / 0.6278 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.5263, allocations: 20 kB / 0.6278 GB, free: 3.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.5279, allocations: 0.8153 MB / 0.6286 GB, free: 2.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5279, allocations: 0 / 0.6286 GB, free: 2.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002208/0.5301, allocations: 0.591 MB / 0.6292 GB, free: 2.16 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.0003158/0.5304, allocations: 132.6 kB / 0.6293 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009156/0.5396, allocations: 3.883 MB / 0.6331 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5396, allocations: 0 / 0.6331 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.543, allocations: 1.375 MB / 0.6345 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5441, allocations: 96.38 kB / 0.6346 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.5492, allocations: 2.723 MB / 0.6372 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.5499, allocations: 1.107 MB / 0.6383 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000786/0.5507, allocations: 153.5 kB / 0.6385 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.5511, allocations: 67.42 kB / 0.6385 GB, free: 8.461 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5511, allocations: 0 / 0.6385 GB, free: 8.461 MB / 446.1 MB Notification: Performance of Templates: time 0.03339/0.5845, allocations: 20.65 MB / 0.6587 GB, free: 4.039 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: