Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 179.6 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007121/0.0007121, allocations: 102.2 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4397/0.4397, allocations: 78.42 MB / 418.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 498.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3342, allocations: 68.76 MB / 0.5539 GB, free: 39.74 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005865/0.3401, allocations: 5.168 MB / 0.5589 GB, free: 38.11 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.3436, allocations: 1.641 MB / 0.5605 GB, free: 37.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.3447, allocations: 6.719 kB / 0.5605 GB, free: 37.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.3454, allocations: 120.9 kB / 0.5607 GB, free: 37.39 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.002153/0.3476, allocations: 0.5889 MB / 0.5612 GB, free: 37.12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009645/0.3486, allocations: 396.2 kB / 0.5616 GB, free: 37.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3499, allocations: 1.018 MB / 0.5626 GB, free: 36.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.3503, allocations: 192.9 kB / 0.5628 GB, free: 36.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3508, allocations: 383.3 kB / 0.5632 GB, free: 36.63 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.3514, allocations: 0.4884 MB / 0.5636 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3515, allocations: 46.19 kB / 0.5637 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.352, allocations: 173.5 kB / 0.5638 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3522, allocations: 176.2 kB / 0.564 GB, free: 36.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.3525, allocations: 416 kB / 0.5644 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3537, allocations: 1.179 MB / 0.5656 GB, free: 36.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3537, allocations: 1.25 kB / 0.5656 GB, free: 36.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3537, allocations: 4 kB / 0.5656 GB, free: 36.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3537, allocations: 0 / 0.5656 GB, free: 36.02 MB / 426.7 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.004707/0.3584, allocations: 1.588 MB / 0.5671 GB, free: 35.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3585, allocations: 13.75 kB / 0.5671 GB, free: 35.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/0.3618, allocations: 0.5111 MB / 0.5676 GB, free: 35.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.3628, allocations: 0.6504 MB / 0.5683 GB, free: 34.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.363, allocations: 141.7 kB / 0.5684 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3631, allocations: 53.12 kB / 0.5684 GB, free: 34.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.3642, allocations: 0.6629 MB / 0.5691 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3643, allocations: 4 kB / 0.5691 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.3643, allocations: 21.69 kB / 0.5691 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3643, allocations: 14.08 kB / 0.5691 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3654, allocations: 0.6324 MB / 0.5697 GB, free: 34.18 MB / 426.7 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.003794/0.3692, allocations: 2.627 MB / 0.5723 GB, free: 32.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.3798, allocations: 2.809 MB / 0.5751 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.3807, allocations: 445.2 kB / 0.5755 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.3808, allocations: 10.47 kB / 0.5755 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3809, allocations: 42.16 kB / 0.5755 GB, free: 31.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 3.336e-06/0.3809, allocations: 0 / 0.5755 GB, free: 31.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01112/0.392, allocations: 3.535 MB / 0.579 GB, free: 30.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3921, allocations: 57.22 kB / 0.579 GB, free: 30.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3931, allocations: 0.7663 MB / 0.5798 GB, free: 30.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.3933, allocations: 37.64 kB / 0.5798 GB, free: 30.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3935, allocations: 349.7 kB / 0.5802 GB, free: 30.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3937, allocations: 216.7 kB / 0.5804 GB, free: 30.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3938, allocations: 90.25 kB / 0.5804 GB, free: 29.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.3939, allocations: 395 kB / 0.5808 GB, free: 29.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.3947, allocations: 0.4959 MB / 0.5813 GB, free: 29.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.3956, allocations: 0.5896 MB / 0.5819 GB, free: 29.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.4092, allocations: 3.562 MB / 0.5854 GB, free: 28.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4093, allocations: 0 / 0.5854 GB, free: 28.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006439/0.4157, allocations: 2.394 MB / 0.5877 GB, free: 27.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4158, allocations: 5.5 kB / 0.5877 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4158, allocations: 4.266 kB / 0.5877 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/0.4196, allocations: 1.042 MB / 0.5887 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.4204, allocations: 149.2 kB / 0.5889 GB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009386/0.4298, allocations: 4.713 MB / 0.5935 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4311, allocations: 115 kB / 0.5936 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.4313, allocations: 29.52 kB / 0.5936 GB, free: 24.46 MB / 426.7 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.0004633/0.4318, allocations: 219.9 kB / 0.5938 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.432, allocations: 88.03 kB / 0.5939 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.4377, allocations: 1.941 MB / 0.5958 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4377, allocations: 10.72 kB / 0.5958 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.4377, allocations: 3 kB / 0.5958 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4377, allocations: 3.891 kB / 0.5958 GB, free: 23.64 MB / 426.7 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.007142/0.4449, allocations: 3.035 MB / 0.5988 GB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4449, allocations: 0 / 0.5988 GB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4453, allocations: 66.52 kB / 0.5988 GB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/0.4486, allocations: 0.9339 MB / 0.5998 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.4487, allocations: 16.41 kB / 0.5998 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007084/0.4558, allocations: 3.794 MB / 0.6035 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4558, allocations: 1.219 kB / 0.6035 GB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/0.4621, allocations: 2.52 MB / 0.6059 GB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.4624, allocations: 173.1 kB / 0.6061 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.4626, allocations: 15.2 kB / 0.6061 GB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.4633, allocations: 47.55 kB / 0.6062 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.4636, allocations: 122.9 kB / 0.6063 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.4637, allocations: 14.34 kB / 0.6063 GB, free: 18.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006428/0.4643, allocations: 0.5174 MB / 0.6068 GB, free: 18.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4644, allocations: 0 / 0.6068 GB, free: 18.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009813/0.4653, allocations: 299.4 kB / 0.6071 GB, free: 17.99 MB / 426.7 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.0001959/0.4655, allocations: 125.7 kB / 0.6072 GB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.4694, allocations: 1.736 MB / 0.6089 GB, free: 16.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4694, allocations: 5.969 kB / 0.6089 GB, free: 16.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.4718, allocations: 1.075 MB / 0.61 GB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.4725, allocations: 56.28 kB / 0.61 GB, free: 16.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4748, allocations: 1.782 MB / 0.6117 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.4752, allocations: 0.9496 MB / 0.6127 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.4755, allocations: 70.38 kB / 0.6127 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.4757, allocations: 51.45 kB / 0.6128 GB, free: 13.93 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4757, allocations: 0 / 0.6128 GB, free: 13.93 MB / 426.7 MB Notification: Performance of Templates: time 0.01762/0.4933, allocations: 12.99 MB / 0.6255 GB, free: 1.645 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)