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.001115/0.001115, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 239.4 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.001613/0.001613, allocations: 196.4 kB / 289.7 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.4818/0.4818, allocations: 78.52 MB / 418.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 83.88 kB / 0.5536 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4367, allocations: 68.15 MB / 0.6202 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005285/0.4421, allocations: 4.908 MB / 0.625 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.4453, allocations: 1.603 MB / 0.6265 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.4458, allocations: 4 kB / 0.6265 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.4463, allocations: 158.7 kB / 0.6267 GB, free: 3.59 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.001519/0.4478, allocations: 0.6483 MB / 0.6273 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.4487, allocations: 422 kB / 0.6277 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009333/0.4496, allocations: 1.078 MB / 0.6288 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.4499, allocations: 229.9 kB / 0.629 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.4503, allocations: 442.2 kB / 0.6294 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.4509, allocations: 0.5602 MB / 0.63 GB, free: 224 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.451, allocations: 96 kB / 0.63 GB, free: 128 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.4514, allocations: 227.9 kB / 0.6303 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4516, allocations: 239 kB / 0.6305 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.452, allocations: 473.4 kB / 0.6309 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4534, allocations: 1.258 MB / 0.6322 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4534, allocations: 0 / 0.6322 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4534, allocations: 0 / 0.6322 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4534, allocations: 4 kB / 0.6322 GB, free: 13.94 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.005234/0.4586, allocations: 1.783 MB / 0.6339 GB, free: 12.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4587, allocations: 8.031 kB / 0.6339 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.4619, allocations: 0.5308 MB / 0.6344 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.4629, allocations: 0.6438 MB / 0.6351 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.463, allocations: 146 kB / 0.6352 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4632, allocations: 48 kB / 0.6353 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.4645, allocations: 0.6584 MB / 0.6359 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4645, allocations: 0 / 0.6359 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.4646, allocations: 20 kB / 0.6359 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4646, allocations: 15.98 kB / 0.6359 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4658, allocations: 0.6285 MB / 0.6365 GB, free: 9.34 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.004559/0.4704, allocations: 2.628 MB / 0.6391 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.4823, allocations: 2.81 MB / 0.6419 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.4834, allocations: 450.3 kB / 0.6423 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.74e-05/0.4835, allocations: 12.55 kB / 0.6423 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4835, allocations: 39.12 kB / 0.6423 GB, free: 3.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 2.325e-06/0.4835, allocations: 3.938 kB / 0.6423 GB, free: 3.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01262/0.4961, allocations: 3.532 MB / 0.6458 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.4962, allocations: 55.97 kB / 0.6458 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4976, allocations: 0.7663 MB / 0.6466 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.4978, allocations: 37.7 kB / 0.6466 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.4982, allocations: 357 kB / 0.647 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.4985, allocations: 226.1 kB / 0.6472 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.4989, allocations: 162.6 kB / 0.6473 GB, free: 14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.4991, allocations: 398.7 kB / 0.6477 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.5002, allocations: 0.4939 MB / 0.6482 GB, free: 13.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.5013, allocations: 0.6031 MB / 0.6488 GB, free: 12.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/0.5173, allocations: 3.556 MB / 0.6523 GB, free: 8.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.5174, allocations: 0 / 0.6523 GB, free: 8.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007691/0.5251, allocations: 2.404 MB / 0.6546 GB, free: 6.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5252, allocations: 4 kB / 0.6546 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5252, allocations: 4 kB / 0.6546 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/0.5295, allocations: 1.046 MB / 0.6556 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.5304, allocations: 151.7 kB / 0.6558 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.5414, allocations: 5.074 MB / 0.6607 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.5428, allocations: 107.6 kB / 0.6608 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.543, allocations: 31.98 kB / 0.6609 GB, free: 15.9 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.0005906/0.5436, allocations: 220.7 kB / 0.6611 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.5439, allocations: 83.48 kB / 0.6612 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/0.5499, allocations: 1.945 MB / 0.6631 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5499, allocations: 8 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.5499, allocations: 4 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5499, allocations: 7.969 kB / 0.6631 GB, free: 13.61 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.007557/0.5575, allocations: 3.036 MB / 0.666 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5575, allocations: 7.875 kB / 0.6661 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.558, allocations: 63.97 kB / 0.6661 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.5612, allocations: 0.9368 MB / 0.667 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.5613, allocations: 12 kB / 0.667 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008427/0.5698, allocations: 4.113 MB / 0.6711 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5698, allocations: 0 / 0.6711 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007075/0.5769, allocations: 2.519 MB / 0.6735 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.5773, allocations: 184.4 kB / 0.6737 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.5775, allocations: 12 kB / 0.6737 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/0.5785, allocations: 51.94 kB / 0.6738 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003993/0.5789, allocations: 124.3 kB / 0.6739 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.5789, allocations: 12.19 kB / 0.6739 GB, free: 2.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007999/0.5797, allocations: 0.5225 MB / 0.6744 GB, free: 1.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5797, allocations: 3.938 kB / 0.6744 GB, free: 1.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001177/0.5809, allocations: 295.8 kB / 0.6747 GB, free: 1.449 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.000294/0.5812, allocations: 119.2 kB / 0.6748 GB, free: 1.324 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.5858, allocations: 1.734 MB / 0.6765 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5858, allocations: 448 / 0.6765 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.5887, allocations: 1.087 MB / 0.6775 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.5897, allocations: 66.92 kB / 0.6776 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.593, allocations: 1.523 MB / 0.6791 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.5937, allocations: 0.946 MB / 0.68 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.594, allocations: 65.14 kB / 0.6801 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.5942, allocations: 55.36 kB / 0.6801 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5942, allocations: 0 / 0.6801 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Templates: time 0.02569/0.6199, allocations: 14.48 MB / 0.6943 GB, free: 13.21 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)