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.007074/0.007074, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.326/1.326, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.00155/0.00155, allocations: 196.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4729/0.4729, allocations: 78.53 MB / 418.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 83.86 kB / 0.5536 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.362, allocations: 68.16 MB / 0.6202 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005364/0.3674, allocations: 4.9 MB / 0.625 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3707, allocations: 1.599 MB / 0.6265 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008641/0.3716, allocations: 7.938 kB / 0.6265 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.3723, allocations: 158.7 kB / 0.6267 GB, free: 3.559 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.002108/0.3745, allocations: 0.6457 MB / 0.6273 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.3755, allocations: 421.6 kB / 0.6277 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3768, allocations: 1.082 MB / 0.6288 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.3772, allocations: 214 kB / 0.629 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007435/0.378, allocations: 446.2 kB / 0.6294 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.3788, allocations: 0.5602 MB / 0.6299 GB, free: 200 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.3791, allocations: 100 kB / 0.63 GB, free: 100 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000679/0.3798, allocations: 227.9 kB / 0.6303 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.3801, allocations: 239 kB / 0.6305 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.3806, allocations: 473.4 kB / 0.6309 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.382, allocations: 1.259 MB / 0.6322 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.382, allocations: 0 / 0.6322 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.382, allocations: 0 / 0.6322 GB, free: 13.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3821, allocations: 0 / 0.6322 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.005397/0.3875, allocations: 1.753 MB / 0.6339 GB, free: 12.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3875, allocations: 8.031 kB / 0.6339 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.3908, allocations: 0.5186 MB / 0.6344 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3921, allocations: 0.647 MB / 0.635 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.3923, allocations: 150 kB / 0.6352 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.3925, allocations: 48 kB / 0.6352 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.394, allocations: 0.6584 MB / 0.6359 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.394, allocations: 0 / 0.6359 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.3941, allocations: 23.98 kB / 0.6359 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3941, allocations: 12 kB / 0.6359 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3954, allocations: 0.6285 MB / 0.6365 GB, free: 9.352 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.004986/0.4004, allocations: 2.623 MB / 0.6391 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.4114, allocations: 2.817 MB / 0.6418 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.4125, allocations: 448.3 kB / 0.6422 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.4126, allocations: 8.562 kB / 0.6423 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4127, allocations: 39.12 kB / 0.6423 GB, free: 3.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 3.937e-06/0.4127, allocations: 3.938 kB / 0.6423 GB, free: 3.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01231/0.425, allocations: 3.523 MB / 0.6457 GB, free: 15.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4251, allocations: 55.97 kB / 0.6458 GB, free: 15.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4265, allocations: 0.77 MB / 0.6465 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.4266, allocations: 37.7 kB / 0.6466 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.427, allocations: 352.6 kB / 0.6469 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.4273, allocations: 213 kB / 0.6471 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/0.4278, allocations: 166.5 kB / 0.6473 GB, free: 14.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4279, allocations: 398.7 kB / 0.6477 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.429, allocations: 0.4978 MB / 0.6481 GB, free: 13.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.43, allocations: 0.5953 MB / 0.6487 GB, free: 12.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/0.4449, allocations: 3.556 MB / 0.6522 GB, free: 8.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.445, allocations: 0 / 0.6522 GB, free: 8.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007384/0.4524, allocations: 2.395 MB / 0.6545 GB, free: 6.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.4525, allocations: 4 kB / 0.6545 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4525, allocations: 4 kB / 0.6545 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.4565, allocations: 1.054 MB / 0.6556 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.4574, allocations: 151.7 kB / 0.6557 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.4679, allocations: 5.075 MB / 0.6607 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.4693, allocations: 107.2 kB / 0.6608 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.4695, allocations: 31.98 kB / 0.6608 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.0006255/0.4701, allocations: 210.2 kB / 0.661 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.4704, allocations: 82.97 kB / 0.6611 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/0.4761, allocations: 1.941 MB / 0.663 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4761, allocations: 4 kB / 0.663 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.4761, allocations: 4 kB / 0.663 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4761, allocations: 3.984 kB / 0.663 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.007211/0.4834, allocations: 3.032 MB / 0.666 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.4834, allocations: 7.938 kB / 0.666 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.4839, allocations: 67.91 kB / 0.666 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/0.487, allocations: 0.9442 MB / 0.6669 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4871, allocations: 12 kB / 0.667 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008046/0.4952, allocations: 4.105 MB / 0.671 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4952, allocations: 4 kB / 0.671 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006646/0.5019, allocations: 2.519 MB / 0.6734 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.5023, allocations: 179.9 kB / 0.6736 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.5025, allocations: 12 kB / 0.6736 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.5033, allocations: 51.94 kB / 0.6737 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.5037, allocations: 120.3 kB / 0.6738 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.5038, allocations: 12.19 kB / 0.6738 GB, free: 2.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000757/0.5045, allocations: 0.5264 MB / 0.6743 GB, free: 1.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5045, allocations: 3.938 kB / 0.6743 GB, free: 1.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001068/0.5056, allocations: 295.7 kB / 0.6746 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.0002786/0.5059, allocations: 117.4 kB / 0.6747 GB, free: 1.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.5102, allocations: 1.734 MB / 0.6764 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5102, allocations: 0 / 0.6764 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.5128, allocations: 1.08 MB / 0.6774 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.0007235/0.5135, allocations: 64.47 kB / 0.6775 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.5164, allocations: 1.502 MB / 0.679 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.517, allocations: 0.9382 MB / 0.6799 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.5173, allocations: 65.14 kB / 0.68 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.5175, allocations: 59.36 kB / 0.68 GB, free: 11.78 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5175, allocations: 0 / 0.68 GB, free: 11.78 MB / 494.1 MB Notification: Performance of Templates: time 0.02434/0.5419, allocations: 14.46 MB / 0.6941 GB, free: 13.32 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)