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.001744/0.001744, allocations: 109 kB / 16.41 MB, free: 6.492 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.382/1.382, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001544/0.001544, allocations: 191.4 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4687/0.4687, allocations: 78.52 MB / 419.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 79.88 kB / 0.5543 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3776, allocations: 68.17 MB / 0.6209 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004661/0.3823, allocations: 4.894 MB / 0.6256 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.3852, allocations: 1.603 MB / 0.6272 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.3858, allocations: 4 kB / 0.6272 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.3862, allocations: 154.7 kB / 0.6273 GB, free: 3.605 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.001446/0.3877, allocations: 0.6509 MB / 0.628 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.3884, allocations: 418 kB / 0.6284 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008456/0.3893, allocations: 1.09 MB / 0.6294 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3896, allocations: 214 kB / 0.6296 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.39, allocations: 446.2 kB / 0.6301 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.3904, allocations: 0.5524 MB / 0.6306 GB, free: 244 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3905, allocations: 96 kB / 0.6307 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.391, allocations: 239.8 kB / 0.6309 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3912, allocations: 239.1 kB / 0.6312 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.3916, allocations: 473.4 kB / 0.6316 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.3928, allocations: 1.263 MB / 0.6328 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3928, allocations: 0 / 0.6328 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3928, allocations: 0 / 0.6328 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3928, allocations: 0 / 0.6328 GB, free: 13.95 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.005191/0.398, allocations: 1.749 MB / 0.6346 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3981, allocations: 8.031 kB / 0.6346 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.4013, allocations: 0.5186 MB / 0.6351 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.4022, allocations: 0.647 MB / 0.6357 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.4024, allocations: 146.1 kB / 0.6358 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4025, allocations: 48 kB / 0.6359 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.4038, allocations: 0.6584 MB / 0.6365 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4038, allocations: 0 / 0.6365 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.4039, allocations: 23.94 kB / 0.6366 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4039, allocations: 12 kB / 0.6366 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.4051, allocations: 0.6363 MB / 0.6372 GB, free: 9.383 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.004374/0.4095, allocations: 2.616 MB / 0.6397 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.4213, allocations: 2.812 MB / 0.6425 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4224, allocations: 444.6 kB / 0.6429 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.4225, allocations: 20.53 kB / 0.6429 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4226, allocations: 39.12 kB / 0.643 GB, free: 3.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 3.787e-06/0.4226, allocations: 0 / 0.643 GB, free: 3.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.0128/0.4354, allocations: 3.524 MB / 0.6464 GB, free: 15.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4355, allocations: 55.97 kB / 0.6465 GB, free: 15.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.4368, allocations: 0.77 MB / 0.6472 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.437, allocations: 37.7 kB / 0.6472 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.4373, allocations: 352.5 kB / 0.6476 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.4375, allocations: 213 kB / 0.6478 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.4378, allocations: 170.5 kB / 0.648 GB, free: 14.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.438, allocations: 398.7 kB / 0.6483 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/0.439, allocations: 0.4939 MB / 0.6488 GB, free: 13.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.4399, allocations: 0.5914 MB / 0.6494 GB, free: 12.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/0.4552, allocations: 3.56 MB / 0.6529 GB, free: 8.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4553, allocations: 0 / 0.6529 GB, free: 8.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007118/0.4624, allocations: 2.399 MB / 0.6552 GB, free: 6.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4625, allocations: 4 kB / 0.6552 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4625, allocations: 4 kB / 0.6552 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.4666, allocations: 1.051 MB / 0.6562 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/0.4674, allocations: 147.8 kB / 0.6564 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4778, allocations: 5.074 MB / 0.6613 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.4792, allocations: 107.2 kB / 0.6614 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.4793, allocations: 28.05 kB / 0.6615 GB, free: 15.98 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.0005057/0.4798, allocations: 218.1 kB / 0.6617 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.48, allocations: 82.97 kB / 0.6618 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.4858, allocations: 1.937 MB / 0.6636 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4858, allocations: 8 kB / 0.6637 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4859, allocations: 4 kB / 0.6637 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4859, allocations: 3.984 kB / 0.6637 GB, free: 13.71 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.007359/0.4932, allocations: 3.032 MB / 0.6666 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4933, allocations: 4 kB / 0.6666 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.4938, allocations: 71.84 kB / 0.6667 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003229/0.497, allocations: 0.9367 MB / 0.6676 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.4972, allocations: 12 kB / 0.6676 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00813/0.5053, allocations: 4.116 MB / 0.6716 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5054, allocations: 0 / 0.6716 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00695/0.5123, allocations: 2.515 MB / 0.6741 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.5128, allocations: 183.9 kB / 0.6743 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.513, allocations: 12 kB / 0.6743 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.5137, allocations: 47.94 kB / 0.6743 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.5141, allocations: 120.4 kB / 0.6744 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.5142, allocations: 12 kB / 0.6745 GB, free: 2.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.5148, allocations: 0.5264 MB / 0.675 GB, free: 1.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5148, allocations: 0 / 0.675 GB, free: 1.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009628/0.5158, allocations: 295.7 kB / 0.6753 GB, free: 1.551 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.00026/0.5161, allocations: 119.2 kB / 0.6754 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004285/0.5204, allocations: 1.734 MB / 0.6771 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5204, allocations: 0 / 0.6771 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002639/0.523, allocations: 1.084 MB / 0.6781 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.5237, allocations: 59 kB / 0.6782 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.5264, allocations: 1.531 MB / 0.6797 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.5269, allocations: 0.9421 MB / 0.6806 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.5271, allocations: 59.42 kB / 0.6806 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5271, allocations: 7.875 kB / 0.6807 GB, free: 11.84 MB / 494.1 MB Notification: Performance of Templates: time 0.02358/0.5507, allocations: 20.47 MB / 0.7006 GB, free: 7.352 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)