Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009137/0.0009138, allocations: 170.6 kB / 16.07 MB, free: 5.602 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.281/1.281, allocations: 222.9 MB / 239.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007316/0.0007314, allocations: 93.73 kB / 290.4 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4303/0.4303, allocations: 78.43 MB / 419.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 16 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2709, allocations: 68.74 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004259/0.2752, allocations: 5.172 MB / 0.5596 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.2778, allocations: 1.646 MB / 0.5612 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.2782, allocations: 8 kB / 0.5612 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.2786, allocations: 119.2 kB / 0.5613 GB, free: 13.26 MB / 378.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.001223/0.2799, allocations: 0.5734 MB / 0.5618 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.2806, allocations: 403 kB / 0.5622 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006943/0.2813, allocations: 1.012 MB / 0.5632 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.2816, allocations: 190.4 kB / 0.5634 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.2819, allocations: 378.2 kB / 0.5638 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.2823, allocations: 0.4938 MB / 0.5642 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.997e-05/0.2824, allocations: 44 kB / 0.5643 GB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.2827, allocations: 175.8 kB / 0.5644 GB, free: 9.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2828, allocations: 175.1 kB / 0.5646 GB, free: 9.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2831, allocations: 417.4 kB / 0.565 GB, free: 9.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.2837, allocations: 0.9486 MB / 0.5659 GB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2837, allocations: 4 kB / 0.5659 GB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2837, allocations: 0 / 0.5659 GB, free: 8.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.2837, allocations: 3.938 kB / 0.5659 GB, free: 8.449 MB / 378.7 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.004436/0.2881, allocations: 1.586 MB / 0.5675 GB, free: 6.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.2882, allocations: 8.031 kB / 0.5675 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/0.2914, allocations: 0.5147 MB / 0.568 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.2924, allocations: 0.647 MB / 0.5686 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.2925, allocations: 142.1 kB / 0.5688 GB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2926, allocations: 59.84 kB / 0.5688 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2938, allocations: 0.6584 MB / 0.5695 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2938, allocations: 0 / 0.5695 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.2938, allocations: 20 kB / 0.5695 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2939, allocations: 15.98 kB / 0.5695 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2949, allocations: 0.6324 MB / 0.5701 GB, free: 4.051 MB / 378.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.00375/0.2987, allocations: 2.627 MB / 0.5727 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.3098, allocations: 2.82 MB / 0.5754 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009971/0.3109, allocations: 454.3 kB / 0.5759 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.311, allocations: 8.562 kB / 0.5759 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.311, allocations: 39.12 kB / 0.5759 GB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/0.311, allocations: 0 / 0.5759 GB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01221/0.3233, allocations: 3.527 MB / 0.5794 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.3233, allocations: 55.97 kB / 0.5794 GB, free: 10.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3245, allocations: 0.7739 MB / 0.5802 GB, free: 9.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3246, allocations: 33.7 kB / 0.5802 GB, free: 9.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.3249, allocations: 356.6 kB / 0.5805 GB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3251, allocations: 217 kB / 0.5808 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3252, allocations: 85.67 kB / 0.5808 GB, free: 8.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3254, allocations: 394.7 kB / 0.5812 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.3264, allocations: 0.4978 MB / 0.5817 GB, free: 7.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3274, allocations: 0.5992 MB / 0.5823 GB, free: 7.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/0.3424, allocations: 3.548 MB / 0.5857 GB, free: 3.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3425, allocations: 0 / 0.5857 GB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006996/0.3495, allocations: 2.392 MB / 0.5881 GB, free: 1.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3495, allocations: 8 kB / 0.5881 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3495, allocations: 3.984 kB / 0.5881 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/0.3535, allocations: 1.046 MB / 0.5891 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.3543, allocations: 151.7 kB / 0.5893 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009655/0.364, allocations: 4.714 MB / 0.5939 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3651, allocations: 115.1 kB / 0.594 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.3652, allocations: 24 kB / 0.594 GB, free: 11.09 MB / 410.7 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.0004356/0.3657, allocations: 219.9 kB / 0.5942 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3658, allocations: 78.97 kB / 0.5943 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/0.3716, allocations: 1.941 MB / 0.5962 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3716, allocations: 8 kB / 0.5962 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3716, allocations: 4 kB / 0.5962 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3717, allocations: 3.984 kB / 0.5962 GB, free: 8.809 MB / 410.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.007077/0.3787, allocations: 3.036 MB / 0.5992 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3788, allocations: 4 kB / 0.5992 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.3792, allocations: 67.91 kB / 0.5992 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.3824, allocations: 0.9413 MB / 0.6001 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.3825, allocations: 12 kB / 0.6002 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.3901, allocations: 3.792 MB / 0.6039 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3902, allocations: 3.984 kB / 0.6039 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.3968, allocations: 2.51 MB / 0.6063 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.3972, allocations: 176 kB / 0.6065 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3973, allocations: 12 kB / 0.6065 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.398, allocations: 55.94 kB / 0.6065 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.3983, allocations: 120.3 kB / 0.6067 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3984, allocations: 15.94 kB / 0.6067 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006699/0.3991, allocations: 0.5186 MB / 0.6072 GB, free: 13.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3991, allocations: 0 / 0.6072 GB, free: 13.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008718/0.3999, allocations: 299.9 kB / 0.6075 GB, free: 12.99 MB / 426.7 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.0002245/0.4002, allocations: 125.6 kB / 0.6076 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004272/0.4045, allocations: 1.742 MB / 0.6093 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4045, allocations: 0 / 0.6093 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.4072, allocations: 1.076 MB / 0.6103 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.4079, allocations: 55 kB / 0.6104 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.4107, allocations: 1.82 MB / 0.6122 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4112, allocations: 0.946 MB / 0.6131 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.4115, allocations: 55.42 kB / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4115, allocations: 0 / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of Templates: time 0.02283/0.4343, allocations: 20.34 MB / 0.633 GB, free: 2.625 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)