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.007325/0.007325, allocations: 168.1 kB / 15.13 MB, free: 6.02 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.475/1.475, allocations: 223.3 MB / 239.1 MB, free: 1.723 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.0008615/0.0008616, allocations: 96.23 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5327/0.5327, allocations: 78.61 MB / 420 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 12 kB / 499.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 69.35 MB / 0.5559 GB, free: 38.86 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004303/0.3461, allocations: 4.474 MB / 0.5603 GB, free: 38.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.3494, allocations: 1.55 MB / 0.5618 GB, free: 37.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.3499, allocations: 7.062 kB / 0.5618 GB, free: 37.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.3503, allocations: 117.3 kB / 0.5619 GB, free: 37.57 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.001309/0.3516, allocations: 0.5143 MB / 0.5624 GB, free: 37.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.3524, allocations: 332.2 kB / 0.5627 GB, free: 37.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.3535, allocations: 0.9641 MB / 0.5637 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.3538, allocations: 181.8 kB / 0.5638 GB, free: 36.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.3543, allocations: 367.9 kB / 0.5642 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.3549, allocations: 492.4 kB / 0.5646 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.355, allocations: 49.81 kB / 0.5647 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.3555, allocations: 166.5 kB / 0.5649 GB, free: 36.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3557, allocations: 165.7 kB / 0.565 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3558, allocations: 163.4 kB / 0.5652 GB, free: 35.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.3567, allocations: 0.9551 MB / 0.5661 GB, free: 35.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3567, allocations: 0 / 0.5661 GB, free: 35.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3567, allocations: 0 / 0.5661 GB, free: 35.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3567, allocations: 1.125 kB / 0.5661 GB, free: 35.59 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.005077/0.3618, allocations: 1.631 MB / 0.5677 GB, free: 34.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3618, allocations: 14.19 kB / 0.5677 GB, free: 34.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/0.3653, allocations: 0.5195 MB / 0.5682 GB, free: 34.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.3662, allocations: 0.6203 MB / 0.5688 GB, free: 34.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.3663, allocations: 146.2 kB / 0.569 GB, free: 34.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3665, allocations: 51.5 kB / 0.569 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3677, allocations: 0.695 MB / 0.5697 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3678, allocations: 0 / 0.5697 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.3678, allocations: 18.59 kB / 0.5697 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3678, allocations: 11.34 kB / 0.5697 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.369, allocations: 0.669 MB / 0.5704 GB, free: 33.59 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.003934/0.3729, allocations: 2.68 MB / 0.573 GB, free: 32.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.3861, allocations: 3.761 MB / 0.5767 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009597/0.3871, allocations: 486 kB / 0.5771 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3873, allocations: 10.86 kB / 0.5771 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3873, allocations: 38.34 kB / 0.5772 GB, free: 31.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.224e-06/0.3873, allocations: 0 / 0.5772 GB, free: 31.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01329/0.4006, allocations: 4.228 MB / 0.5813 GB, free: 30.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4007, allocations: 61.38 kB / 0.5814 GB, free: 30.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4017, allocations: 0.7557 MB / 0.5821 GB, free: 29.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.4019, allocations: 36.45 kB / 0.5821 GB, free: 29.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4021, allocations: 354.4 kB / 0.5825 GB, free: 29.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.4023, allocations: 215.4 kB / 0.5827 GB, free: 29.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.4024, allocations: 14.81 kB / 0.5827 GB, free: 29.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4025, allocations: 398.9 kB / 0.5831 GB, free: 28.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.4035, allocations: 0.5241 MB / 0.5836 GB, free: 28.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/0.4045, allocations: 0.6272 MB / 0.5842 GB, free: 28.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4056, allocations: 0.583 MB / 0.5848 GB, free: 28.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4056, allocations: 0 / 0.5848 GB, free: 28.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007392/0.413, allocations: 2.722 MB / 0.5874 GB, free: 27.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.413, allocations: 6.25 kB / 0.5874 GB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4131, allocations: 3.125 kB / 0.5874 GB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/0.4176, allocations: 1.217 MB / 0.5886 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.4185, allocations: 154.3 kB / 0.5888 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.4295, allocations: 6.337 MB / 0.595 GB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4309, allocations: 120.5 kB / 0.5951 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.431, allocations: 33.31 kB / 0.5951 GB, free: 23.05 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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.4314, allocations: 229.3 kB / 0.5953 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.4316, allocations: 81.73 kB / 0.5954 GB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/0.4381, allocations: 2.297 MB / 0.5976 GB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4381, allocations: 10.28 kB / 0.5976 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.4381, allocations: 3.562 kB / 0.5977 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4381, allocations: 4.844 kB / 0.5977 GB, free: 22.19 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.008219/0.4464, allocations: 3.38 MB / 0.601 GB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.4464, allocations: 0 / 0.601 GB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.4471, allocations: 63.64 kB / 0.601 GB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/0.4512, allocations: 1.079 MB / 0.6021 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.4514, allocations: 20.41 kB / 0.6021 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008639/0.46, allocations: 4.125 MB / 0.6061 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.46, allocations: 0.5156 kB / 0.6061 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008558/0.4686, allocations: 2.901 MB / 0.609 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4691, allocations: 183.5 kB / 0.6091 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.4692, allocations: 12.41 kB / 0.6091 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.4701, allocations: 72.27 kB / 0.6092 GB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.4705, allocations: 119 kB / 0.6093 GB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.4706, allocations: 18.97 kB / 0.6093 GB, free: 17.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007721/0.4713, allocations: 0.5104 MB / 0.6098 GB, free: 17.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4713, allocations: 4 kB / 0.6098 GB, free: 17.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001115/0.4725, allocations: 296.1 kB / 0.6101 GB, free: 16.97 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.4727, allocations: 124.8 kB / 0.6102 GB, free: 16.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.4773, allocations: 1.997 MB / 0.6122 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4773, allocations: 0 / 0.6122 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.4802, allocations: 1.205 MB / 0.6134 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.4809, allocations: 63.61 kB / 0.6134 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4833, allocations: 1.82 MB / 0.6152 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4837, allocations: 0.9447 MB / 0.6161 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.484, allocations: 69.89 kB / 0.6162 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.4842, allocations: 46.25 kB / 0.6162 GB, free: 11.39 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4842, allocations: 4 kB / 0.6162 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01711/0.5013, allocations: 13.21 MB / 0.6291 GB, free: 14.42 MB / 442.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)