Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07304/0.07304, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 120.4 kB / 30.95 MB, free: 4.664 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3963/0.3963, allocations: 78.51 MB / 418.1 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 135.8 kB / 498.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.272, allocations: 68.04 MB / 0.5532 GB, free: 37.78 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004601/0.2766, allocations: 5.225 MB / 0.5583 GB, free: 33.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2792, allocations: 1.587 MB / 0.5598 GB, free: 32.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.2796, allocations: 7.844 kB / 0.5598 GB, free: 32.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.2799, allocations: 127.1 kB / 0.5599 GB, free: 32.77 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001097/0.281, allocations: 0.576 MB / 0.5605 GB, free: 32.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.2816, allocations: 392.9 kB / 0.5609 GB, free: 32.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.2823, allocations: 1.072 MB / 0.5619 GB, free: 31.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2825, allocations: 223.4 kB / 0.5621 GB, free: 31.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.2829, allocations: 450.7 kB / 0.5626 GB, free: 31.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.2833, allocations: 0.5527 MB / 0.5631 GB, free: 31.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.2834, allocations: 99.09 kB / 0.5632 GB, free: 31.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.2837, allocations: 237.4 kB / 0.5634 GB, free: 30.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2838, allocations: 231.3 kB / 0.5636 GB, free: 30.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.2841, allocations: 480.2 kB / 0.5641 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.2848, allocations: 1.235 MB / 0.5653 GB, free: 29.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2849, allocations: 2.969 kB / 0.5653 GB, free: 29.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2849, allocations: 0 / 0.5653 GB, free: 29.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2849, allocations: 4 kB / 0.5653 GB, free: 29.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004678/0.2896, allocations: 1.753 MB / 0.567 GB, free: 29.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2896, allocations: 12.33 kB / 0.567 GB, free: 29.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.2927, allocations: 0.5153 MB / 0.5675 GB, free: 28.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.2934, allocations: 0.6491 MB / 0.5682 GB, free: 28.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.2936, allocations: 144.5 kB / 0.5683 GB, free: 28.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.2937, allocations: 57.3 kB / 0.5684 GB, free: 28.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.2948, allocations: 0.6566 MB / 0.569 GB, free: 28.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2948, allocations: 0 / 0.569 GB, free: 28.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.2949, allocations: 18.62 kB / 0.569 GB, free: 28.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.2949, allocations: 16.08 kB / 0.569 GB, free: 28.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2959, allocations: 0.6315 MB / 0.5697 GB, free: 27.82 MB / 414.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.003462/0.2994, allocations: 2.631 MB / 0.5722 GB, free: 26.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.3109, allocations: 2.815 MB / 0.575 GB, free: 25.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3121, allocations: 450.5 kB / 0.5754 GB, free: 25.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.523e-05/0.3122, allocations: 11.91 kB / 0.5754 GB, free: 25.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3122, allocations: 37.27 kB / 0.5755 GB, free: 25.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.3122, allocations: 1.562 kB / 0.5755 GB, free: 25.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01269/0.3249, allocations: 3.526 MB / 0.5789 GB, free: 24.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.325, allocations: 58.44 kB / 0.579 GB, free: 24.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.326, allocations: 0.7653 MB / 0.5797 GB, free: 24.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.3261, allocations: 39.67 kB / 0.5797 GB, free: 24.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3263, allocations: 355.2 kB / 0.5801 GB, free: 23.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3265, allocations: 216.1 kB / 0.5803 GB, free: 23.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.3268, allocations: 166 kB / 0.5804 GB, free: 23.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3269, allocations: 400.8 kB / 0.5808 GB, free: 23.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009206/0.3279, allocations: 0.4925 MB / 0.5813 GB, free: 23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.3288, allocations: 0.596 MB / 0.5819 GB, free: 22.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/0.344, allocations: 3.565 MB / 0.5854 GB, free: 21.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.344, allocations: 1.438 kB / 0.5854 GB, free: 21.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006811/0.3508, allocations: 2.398 MB / 0.5877 GB, free: 20.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3509, allocations: 5.969 kB / 0.5877 GB, free: 20.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3509, allocations: 1.125 kB / 0.5877 GB, free: 20.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.3549, allocations: 1.045 MB / 0.5887 GB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.3557, allocations: 158.7 kB / 0.5889 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/0.3651, allocations: 5.074 MB / 0.5939 GB, free: 16.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3663, allocations: 111.8 kB / 0.594 GB, free: 16.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3665, allocations: 33.48 kB / 0.594 GB, free: 16.12 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (93): * Single equations (assignments): 90 * 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.0004413/0.3669, allocations: 211.8 kB / 0.5942 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.3671, allocations: 77.28 kB / 0.5943 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.3725, allocations: 1.955 MB / 0.5962 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3725, allocations: 4 kB / 0.5962 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3725, allocations: 4 kB / 0.5962 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3725, allocations: 7.969 kB / 0.5962 GB, free: 14.44 MB / 414.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.0061/0.3786, allocations: 3.044 MB / 0.5992 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3787, allocations: 7.938 kB / 0.5992 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.3791, allocations: 59.91 kB / 0.5992 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/0.3819, allocations: 0.9351 MB / 0.6001 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.382, allocations: 12 kB / 0.6002 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006786/0.3888, allocations: 4.111 MB / 0.6042 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3888, allocations: 0 / 0.6042 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/0.3947, allocations: 2.514 MB / 0.6066 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.3949, allocations: 176 kB / 0.6068 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.3951, allocations: 8 kB / 0.6068 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/0.3959, allocations: 51.94 kB / 0.6068 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.3961, allocations: 128.3 kB / 0.607 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.3962, allocations: 16 kB / 0.607 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.3967, allocations: 0.5147 MB / 0.6075 GB, free: 2.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3967, allocations: 0 / 0.6075 GB, free: 2.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008097/0.3975, allocations: 299.7 kB / 0.6078 GB, free: 2.293 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * 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.00019/0.3977, allocations: 127.3 kB / 0.6079 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.4017, allocations: 1.754 MB / 0.6096 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4017, allocations: 3.938 kB / 0.6096 GB, free: 352 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.4043, allocations: 1.081 MB / 0.6107 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4049, allocations: 62.94 kB / 0.6107 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4074, allocations: 1.792 MB / 0.6125 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4078, allocations: 0.946 MB / 0.6134 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.4081, allocations: 65.14 kB / 0.6135 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.4083, allocations: 51.42 kB / 0.6135 GB, free: 12.24 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4083, allocations: 0 / 0.6135 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Templates: time 0.01992/0.4282, allocations: 13.9 MB / 0.6271 GB, free: 14.36 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)