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.009509/0.009509, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.435/1.435, 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.001472/0.001472, allocations: 192.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.485/0.485, allocations: 78.52 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 83.86 kB / 0.5536 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4316, allocations: 68.16 MB / 0.6202 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004409/0.4361, allocations: 4.901 MB / 0.625 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.4384, allocations: 1.603 MB / 0.6265 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.4386, allocations: 4 kB / 0.6265 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.439, allocations: 154.7 kB / 0.6267 GB, free: 3.566 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.001169/0.4402, allocations: 0.6763 MB / 0.6273 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.4408, allocations: 426.2 kB / 0.6277 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.4415, allocations: 1.09 MB / 0.6288 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.4417, allocations: 202 kB / 0.629 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.4421, allocations: 450.2 kB / 0.6294 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.4425, allocations: 0.5524 MB / 0.63 GB, free: 180 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.4426, allocations: 100 kB / 0.6301 GB, free: 80 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.443, allocations: 235.8 kB / 0.6303 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.4432, allocations: 235.1 kB / 0.6305 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.4435, allocations: 485.4 kB / 0.631 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4446, allocations: 1.255 MB / 0.6322 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4446, allocations: 0 / 0.6322 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4447, allocations: 0 / 0.6322 GB, free: 13.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4447, allocations: 4 kB / 0.6322 GB, free: 13.88 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.005027/0.4497, allocations: 1.745 MB / 0.6339 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4498, allocations: 12.03 kB / 0.6339 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.4531, allocations: 0.5225 MB / 0.6344 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.4539, allocations: 0.647 MB / 0.6351 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.4541, allocations: 142.1 kB / 0.6352 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.4543, allocations: 52 kB / 0.6352 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4556, allocations: 0.6545 MB / 0.6359 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4556, allocations: 3.938 kB / 0.6359 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.4557, allocations: 20 kB / 0.6359 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4557, allocations: 12 kB / 0.6359 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.457, allocations: 0.6363 MB / 0.6365 GB, free: 9.316 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.004203/0.4612, allocations: 2.62 MB / 0.6391 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.4739, allocations: 2.813 MB / 0.6418 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.475, allocations: 442.3 kB / 0.6423 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.4751, allocations: 16.55 kB / 0.6423 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4751, allocations: 43.12 kB / 0.6423 GB, free: 3.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 3.656e-06/0.4751, allocations: 0 / 0.6423 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01275/0.4879, allocations: 3.52 MB / 0.6458 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4879, allocations: 55.97 kB / 0.6458 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4893, allocations: 0.7739 MB / 0.6466 GB, free: 14.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.4894, allocations: 33.7 kB / 0.6466 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.4896, allocations: 352.6 kB / 0.6469 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.4899, allocations: 209 kB / 0.6471 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.4902, allocations: 170.5 kB / 0.6473 GB, free: 14.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4904, allocations: 398.7 kB / 0.6477 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4914, allocations: 0.4939 MB / 0.6482 GB, free: 13.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.4926, allocations: 0.5952 MB / 0.6487 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.508, allocations: 3.564 MB / 0.6522 GB, free: 8.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.508, allocations: 0 / 0.6522 GB, free: 8.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007421/0.5155, allocations: 2.395 MB / 0.6546 GB, free: 6.492 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5155, allocations: 8 kB / 0.6546 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5155, allocations: 0 / 0.6546 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00425/0.5198, allocations: 1.046 MB / 0.6556 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.5206, allocations: 151.8 kB / 0.6557 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.5316, allocations: 5.078 MB / 0.6607 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5329, allocations: 107.2 kB / 0.6608 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.5331, allocations: 28 kB / 0.6608 GB, free: 15.92 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.0005352/0.5336, allocations: 216.2 kB / 0.661 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.5339, allocations: 86.97 kB / 0.6611 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006115/0.54, allocations: 1.941 MB / 0.663 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.54, allocations: 4 kB / 0.663 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.54, allocations: 4 kB / 0.663 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5401, allocations: 3.984 kB / 0.663 GB, free: 13.64 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.007502/0.5476, allocations: 3.036 MB / 0.666 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5476, allocations: 7.938 kB / 0.666 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.5481, allocations: 63.91 kB / 0.6661 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/0.5514, allocations: 0.9404 MB / 0.667 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.5515, allocations: 12 kB / 0.667 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008566/0.5601, allocations: 4.117 MB / 0.671 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5601, allocations: 0 / 0.671 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/0.5674, allocations: 2.511 MB / 0.6735 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.5678, allocations: 187.9 kB / 0.6736 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.5681, allocations: 8 kB / 0.6736 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.569, allocations: 48.06 kB / 0.6737 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.5694, allocations: 124.4 kB / 0.6738 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.5694, allocations: 24 kB / 0.6738 GB, free: 2.281 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008913/0.5703, allocations: 0.5147 MB / 0.6743 GB, free: 1.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5703, allocations: 0 / 0.6743 GB, free: 1.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001152/0.5715, allocations: 299.7 kB / 0.6746 GB, free: 1.477 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.0002787/0.5718, allocations: 121.6 kB / 0.6747 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.5763, allocations: 1.726 MB / 0.6764 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5763, allocations: 0 / 0.6764 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.5791, allocations: 1.084 MB / 0.6775 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.5797, allocations: 67 kB / 0.6775 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.5824, allocations: 1.49 MB / 0.679 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.583, allocations: 0.9498 MB / 0.6799 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.5833, allocations: 65.12 kB / 0.68 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5835, allocations: 59.42 kB / 0.68 GB, free: 11.75 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5835, allocations: 0 / 0.68 GB, free: 11.75 MB / 494.1 MB Notification: Performance of Templates: time 0.02389/0.6074, allocations: 14.46 MB / 0.6942 GB, free: 13.3 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)