Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001697/0.001697, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009349/0.0009349, allocations: 89.31 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 78.93 MB / 410.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.467e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.463, allocations: 97.23 MB / 0.6374 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4632, allocations: 71.95 kB / 0.6374 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0531/0.5163, allocations: 20.47 MB / 0.6574 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5164, allocations: 0 / 0.6574 GB, free: 12.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.5164, allocations: 16 kB / 0.6575 GB, free: 12.37 MB / 474.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.002686/0.5191, allocations: 1.176 MB / 0.6586 GB, free: 11.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5192, allocations: 12.03 kB / 0.6586 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.5213, allocations: 382.5 kB / 0.659 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.5221, allocations: 0.5588 MB / 0.6595 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.5223, allocations: 126.4 kB / 0.6596 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.5224, allocations: 37.44 kB / 0.6597 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008931/0.5233, allocations: 0.5184 MB / 0.6602 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.5243, allocations: 0.5115 MB / 0.6607 GB, free: 8.953 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5243, allocations: 0 / 0.6607 GB, free: 8.953 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.5243, allocations: 0 / 0.6607 GB, free: 8.953 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5244, allocations: 12.84 kB / 0.6607 GB, free: 8.941 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004238/0.5286, allocations: 2.512 MB / 0.6631 GB, free: 6.332 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.5416, allocations: 3.551 MB / 0.6666 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.5423, allocations: 348.4 kB / 0.667 GB, free: 2.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.5424, allocations: 4.562 kB / 0.667 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5424, allocations: 43.11 kB / 0.667 GB, free: 2.336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 3.086e-06/0.5424, allocations: 0 / 0.667 GB, free: 2.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.005317/0.5477, allocations: 1.835 MB / 0.6688 GB, free: 496 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5478, allocations: 59.97 kB / 0.6688 GB, free: 424 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.5486, allocations: 0.5944 MB / 0.6694 GB, free: 15.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.5487, allocations: 25.7 kB / 0.6694 GB, free: 15.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.5489, allocations: 364.6 kB / 0.6698 GB, free: 15.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5491, allocations: 205 kB / 0.67 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.5491, allocations: 0 / 0.67 GB, free: 15.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.5492, allocations: 330 kB / 0.6703 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.5497, allocations: 294.2 kB / 0.6706 GB, free: 14.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.5501, allocations: 361.7 kB / 0.6709 GB, free: 14.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.5506, allocations: 326.7 kB / 0.6712 GB, free: 13.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5506, allocations: 0 / 0.6712 GB, free: 13.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00561/0.5562, allocations: 1.996 MB / 0.6732 GB, free: 11.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5563, allocations: 15.98 kB / 0.6732 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5563, allocations: 0 / 0.6732 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003588/0.5599, allocations: 0.9651 MB / 0.6742 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.5603, allocations: 90.36 kB / 0.6742 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.5682, allocations: 5.218 MB / 0.6793 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.569, allocations: 95.47 kB / 0.6794 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.5691, allocations: 24 kB / 0.6794 GB, free: 5.25 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0002281/0.5693, allocations: 121.8 kB / 0.6796 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5694, allocations: 82.95 kB / 0.6796 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/0.5748, allocations: 1.891 MB / 0.6815 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5748, allocations: 8 kB / 0.6815 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5748, allocations: 4 kB / 0.6815 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5748, allocations: 3.984 kB / 0.6815 GB, free: 3.113 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006315/0.5811, allocations: 2.924 MB / 0.6844 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5811, allocations: 1.188 kB / 0.6844 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.5816, allocations: 63.91 kB / 0.6844 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.5843, allocations: 0.8354 MB / 0.6852 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.5844, allocations: 13.41 kB / 0.6853 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/0.59, allocations: 3.27 MB / 0.6884 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5901, allocations: 4 kB / 0.6884 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/0.5961, allocations: 2.378 MB / 0.6908 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.5963, allocations: 180 kB / 0.6909 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5964, allocations: 8 kB / 0.6909 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.5972, allocations: 59.94 kB / 0.691 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.5975, allocations: 119.3 kB / 0.6911 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.5975, allocations: 16 kB / 0.6911 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005903/0.5981, allocations: 471.2 kB / 0.6916 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5981, allocations: 0 / 0.6916 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000825/0.599, allocations: 263.6 kB / 0.6918 GB, free: 8.297 MB / 0.4948 GB 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 () * 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.0002541/0.5992, allocations: 131.1 kB / 0.692 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003416/0.6027, allocations: 1.511 MB / 0.6934 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6027, allocations: 0 / 0.6934 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.6052, allocations: 1.058 MB / 0.6945 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.6056, allocations: 47.27 kB / 0.6945 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.6076, allocations: 1.17 MB / 0.6957 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.6081, allocations: 0.9649 MB / 0.6966 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.6083, allocations: 48.55 kB / 0.6966 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6085, allocations: 43.42 kB / 0.6967 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.6085, allocations: 0 / 0.6967 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of Templates: time 0.01771/0.6262, allocations: 11.61 MB / 0.708 GB, free: 7.672 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)