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-master/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-master/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-master/package.mo): time 0.08111/0.08111, allocations: 12.6 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 115.4 kB / 32.46 MB, free: 3.395 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.413/1.413, allocations: 205.1 MB / 241 MB, free: 12.4 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.001432/0.001432, allocations: 184.5 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4537/0.4537, allocations: 78.51 MB / 419.9 MB, free: 11.26 MB / 302.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.002592/0.002593, allocations: 135.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3534, allocations: 68.11 MB / 0.556 GB, free: 32.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005694/0.3591, allocations: 4.951 MB / 0.5608 GB, free: 29.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.3624, allocations: 1.572 MB / 0.5624 GB, free: 28.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.3629, allocations: 5.438 kB / 0.5624 GB, free: 28.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.3634, allocations: 158 kB / 0.5625 GB, free: 27.95 MB / 398.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.001618/0.365, allocations: 0.6459 MB / 0.5631 GB, free: 27.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.3659, allocations: 419.2 kB / 0.5635 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3671, allocations: 1.084 MB / 0.5646 GB, free: 26.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.3675, allocations: 207.4 kB / 0.5648 GB, free: 26.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.368, allocations: 450 kB / 0.5652 GB, free: 26.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.3686, allocations: 0.5549 MB / 0.5658 GB, free: 25.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.3687, allocations: 98.19 kB / 0.5659 GB, free: 25.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.3692, allocations: 242 kB / 0.5661 GB, free: 25.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.3693, allocations: 230.9 kB / 0.5663 GB, free: 25.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.3697, allocations: 476.1 kB / 0.5668 GB, free: 25.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3707, allocations: 1.253 MB / 0.568 GB, free: 24.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3707, allocations: 1.344 kB / 0.568 GB, free: 24.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3707, allocations: 0 / 0.568 GB, free: 24.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3708, allocations: 3.938 kB / 0.568 GB, free: 24.08 MB / 398.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.004941/0.3757, allocations: 1.752 MB / 0.5697 GB, free: 22.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3758, allocations: 13.8 kB / 0.5697 GB, free: 22.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.379, allocations: 0.5217 MB / 0.5702 GB, free: 22.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.3798, allocations: 0.6438 MB / 0.5709 GB, free: 22.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.38, allocations: 142.7 kB / 0.571 GB, free: 22.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3801, allocations: 53.28 kB / 0.571 GB, free: 21.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3813, allocations: 0.651 MB / 0.5717 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3814, allocations: 0 / 0.5717 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.3814, allocations: 24.25 kB / 0.5717 GB, free: 21.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3815, allocations: 11.66 kB / 0.5717 GB, free: 21.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3826, allocations: 0.6335 MB / 0.5723 GB, free: 21.29 MB / 398.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.003961/0.3866, allocations: 2.624 MB / 0.5749 GB, free: 19.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.3972, allocations: 2.81 MB / 0.5776 GB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.3981, allocations: 450.3 kB / 0.5781 GB, free: 16.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.3982, allocations: 12.55 kB / 0.5781 GB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3982, allocations: 39.12 kB / 0.5781 GB, free: 16.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.3982, allocations: 0 / 0.5781 GB, free: 16.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01086/0.4091, allocations: 3.527 MB / 0.5816 GB, free: 12.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4091, allocations: 59.97 kB / 0.5816 GB, free: 12.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009107/0.41, allocations: 0.7661 MB / 0.5824 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.4101, allocations: 33.7 kB / 0.5824 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4103, allocations: 356.6 kB / 0.5827 GB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.4105, allocations: 205 kB / 0.5829 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.4107, allocations: 182.4 kB / 0.5831 GB, free: 11.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.4108, allocations: 398.7 kB / 0.5835 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008063/0.4117, allocations: 497.8 kB / 0.584 GB, free: 10.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.4125, allocations: 0.5992 MB / 0.5846 GB, free: 9.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.4262, allocations: 3.553 MB / 0.588 GB, free: 6.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4262, allocations: 4 kB / 0.588 GB, free: 6.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006218/0.4325, allocations: 2.392 MB / 0.5904 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4325, allocations: 8 kB / 0.5904 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4325, allocations: 0 / 0.5904 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.4362, allocations: 1.049 MB / 0.5914 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.437, allocations: 147.8 kB / 0.5915 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009348/0.4463, allocations: 5.069 MB / 0.5965 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4476, allocations: 115.1 kB / 0.5966 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.4477, allocations: 32 kB / 0.5966 GB, free: 13.11 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.0004309/0.4481, allocations: 219.9 kB / 0.5968 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4483, allocations: 78.97 kB / 0.5969 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005531/0.4538, allocations: 1.945 MB / 0.5988 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4538, allocations: 7.938 kB / 0.5988 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4538, allocations: 4 kB / 0.5988 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4539, allocations: 7.984 kB / 0.5988 GB, free: 10.84 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.006936/0.4608, allocations: 3.041 MB / 0.6018 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4609, allocations: 3.938 kB / 0.6018 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.4613, allocations: 67.84 kB / 0.6019 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.4644, allocations: 0.9378 MB / 0.6028 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.4645, allocations: 12 kB / 0.6028 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/0.472, allocations: 4.108 MB / 0.6068 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4721, allocations: 0 / 0.6068 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.4785, allocations: 2.519 MB / 0.6093 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.4788, allocations: 184 kB / 0.6094 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4789, allocations: 12 kB / 0.6095 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.4796, allocations: 47.94 kB / 0.6095 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.48, allocations: 120.4 kB / 0.6096 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.48, allocations: 16 kB / 0.6096 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.4807, allocations: 0.5186 MB / 0.6101 GB, free: 14.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4807, allocations: 0 / 0.6101 GB, free: 14.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008609/0.4815, allocations: 299.7 kB / 0.6104 GB, free: 14.68 MB / 430.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.0002333/0.4818, allocations: 126.8 kB / 0.6105 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.4857, allocations: 1.73 MB / 0.6122 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4857, allocations: 0 / 0.6122 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.4882, allocations: 1.08 MB / 0.6133 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.4888, allocations: 58.94 kB / 0.6133 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.4911, allocations: 1.506 MB / 0.6148 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.4916, allocations: 0.9498 MB / 0.6157 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.4918, allocations: 73.12 kB / 0.6158 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.492, allocations: 47.61 kB / 0.6159 GB, free: 8.938 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.492, allocations: 0 / 0.6159 GB, free: 8.938 MB / 430.1 MB Notification: Performance of Templates: time 0.02016/0.5122, allocations: 14.32 MB / 0.6298 GB, free: 10.64 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)