Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 103.6 kB / 16.4 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001532/0.001532, allocations: 192.4 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5044/0.5044, allocations: 78.54 MB / 419.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 83.88 kB / 0.5543 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 68.16 MB / 0.6208 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004591/0.3472, allocations: 4.903 MB / 0.6256 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3499, allocations: 1.595 MB / 0.6272 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3503, allocations: 4 kB / 0.6272 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.3507, allocations: 158.6 kB / 0.6273 GB, free: 3.562 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.00128/0.352, allocations: 0.6412 MB / 0.628 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.3527, allocations: 433.9 kB / 0.6284 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.3536, allocations: 1.082 MB / 0.6294 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.3539, allocations: 210 kB / 0.6296 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.3543, allocations: 454.2 kB / 0.6301 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.3548, allocations: 0.5524 MB / 0.6306 GB, free: 200 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3549, allocations: 100 kB / 0.6307 GB, free: 100 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.3553, allocations: 227.9 kB / 0.6309 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3555, allocations: 239.1 kB / 0.6312 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.3559, allocations: 473.4 kB / 0.6316 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3571, allocations: 1.259 MB / 0.6328 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3571, allocations: 0 / 0.6328 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3572, allocations: 0 / 0.6328 GB, free: 13.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3572, allocations: 0 / 0.6328 GB, free: 13.92 MB / 446.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.0053/0.3625, allocations: 1.749 MB / 0.6345 GB, free: 12.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3625, allocations: 8.031 kB / 0.6346 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.3659, allocations: 0.5264 MB / 0.6351 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.3669, allocations: 0.6431 MB / 0.6357 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.3671, allocations: 146.1 kB / 0.6358 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3673, allocations: 55.94 kB / 0.6359 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3686, allocations: 0.6545 MB / 0.6365 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3687, allocations: 0 / 0.6365 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.3687, allocations: 20 kB / 0.6365 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3688, allocations: 16 kB / 0.6366 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.37, allocations: 0.6246 MB / 0.6372 GB, free: 9.355 MB / 446.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.00461/0.3746, allocations: 2.631 MB / 0.6397 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.3873, allocations: 2.805 MB / 0.6425 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3885, allocations: 446.2 kB / 0.6429 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.3886, allocations: 12.56 kB / 0.6429 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3886, allocations: 39.12 kB / 0.643 GB, free: 3.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 3.196e-06/0.3886, allocations: 0 / 0.643 GB, free: 3.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01283/0.4015, allocations: 3.531 MB / 0.6464 GB, free: 15.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.4015, allocations: 55.97 kB / 0.6465 GB, free: 15.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.4029, allocations: 0.7699 MB / 0.6472 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.403, allocations: 41.7 kB / 0.6472 GB, free: 14.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.4033, allocations: 348.6 kB / 0.6476 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.4036, allocations: 213 kB / 0.6478 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.404, allocations: 170.5 kB / 0.6479 GB, free: 14.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4042, allocations: 394.7 kB / 0.6483 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.4052, allocations: 0.4939 MB / 0.6488 GB, free: 13.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.4063, allocations: 0.5914 MB / 0.6494 GB, free: 12.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/0.4226, allocations: 3.56 MB / 0.6529 GB, free: 8.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.4227, allocations: 0 / 0.6529 GB, free: 8.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008058/0.4307, allocations: 2.407 MB / 0.6552 GB, free: 6.516 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4308, allocations: 4 kB / 0.6552 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4308, allocations: 4 kB / 0.6552 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/0.4352, allocations: 1.042 MB / 0.6562 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.4362, allocations: 151.8 kB / 0.6564 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.4474, allocations: 5.075 MB / 0.6613 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4488, allocations: 111.1 kB / 0.6614 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.449, allocations: 31.94 kB / 0.6615 GB, free: 15.94 MB / 478.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.0005978/0.4496, allocations: 210.2 kB / 0.6617 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.4498, allocations: 82.97 kB / 0.6618 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006234/0.4561, allocations: 1.945 MB / 0.6637 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4561, allocations: 4 kB / 0.6637 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.4561, allocations: 4 kB / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4562, allocations: 3.984 kB / 0.6637 GB, free: 13.67 MB / 478.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.007718/0.4639, allocations: 3.036 MB / 0.6666 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4639, allocations: 3.938 kB / 0.6666 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.4644, allocations: 63.91 kB / 0.6667 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/0.4678, allocations: 0.9421 MB / 0.6676 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.4679, allocations: 19.98 kB / 0.6676 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008814/0.4767, allocations: 4.105 MB / 0.6716 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4768, allocations: 4 kB / 0.6716 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00774/0.4845, allocations: 2.515 MB / 0.6741 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.4852, allocations: 175.9 kB / 0.6743 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/0.4856, allocations: 15.98 kB / 0.6743 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4867, allocations: 47.95 kB / 0.6743 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.4872, allocations: 132.3 kB / 0.6745 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.4873, allocations: 12 kB / 0.6745 GB, free: 2.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.4883, allocations: 0.5186 MB / 0.675 GB, free: 1.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4884, allocations: 0 / 0.675 GB, free: 1.801 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001634/0.49, allocations: 299.9 kB / 0.6753 GB, free: 1.508 MB / 478.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.0003533/0.4904, allocations: 117.6 kB / 0.6754 GB, free: 1.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004883/0.4953, allocations: 1.73 MB / 0.6771 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4953, allocations: 0 / 0.6771 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.4982, allocations: 1.084 MB / 0.6781 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.4992, allocations: 60.77 kB / 0.6782 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.5024, allocations: 1.539 MB / 0.6797 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.503, allocations: 0.946 MB / 0.6806 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.5033, allocations: 51.42 kB / 0.6807 GB, free: 11.81 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5033, allocations: 3.938 kB / 0.6807 GB, free: 11.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02773/0.5311, allocations: 20.47 MB / 0.7006 GB, free: 7.309 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)