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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 100.6 kB / 16.41 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001793/0.001792, allocations: 184.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5316/0.5316, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 83.69 kB / 0.5734 GB, free: 33.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1548, allocations: 71.29 MB / 0.643 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005545/0.1604, allocations: 4.917 MB / 0.6478 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1632, allocations: 1.595 MB / 0.6493 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.1635, allocations: 8 kB / 0.6494 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.1639, allocations: 162.7 kB / 0.6495 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1653, allocations: 0.636 MB / 0.6501 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.1661, allocations: 432.4 kB / 0.6505 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.167, allocations: 1.082 MB / 0.6516 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.1673, allocations: 213.9 kB / 0.6518 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.1678, allocations: 450.2 kB / 0.6522 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.1684, allocations: 0.5524 MB / 0.6528 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1685, allocations: 100 kB / 0.6529 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.1689, allocations: 235.8 kB / 0.6531 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.1691, allocations: 231.1 kB / 0.6533 GB, free: 9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.1695, allocations: 477.4 kB / 0.6538 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1706, allocations: 1.254 MB / 0.655 GB, free: 7.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1707, allocations: 3.938 kB / 0.655 GB, free: 7.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1707, allocations: 4 kB / 0.655 GB, free: 7.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1707, allocations: 0 / 0.655 GB, free: 7.266 MB / 462.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.005004/0.1757, allocations: 1.753 MB / 0.6567 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1757, allocations: 12.03 kB / 0.6567 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.179, allocations: 0.5264 MB / 0.6572 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.1799, allocations: 0.6431 MB / 0.6579 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.1801, allocations: 142.1 kB / 0.658 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1802, allocations: 52 kB / 0.6581 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1814, allocations: 0.6584 MB / 0.6587 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1815, allocations: 4 kB / 0.6587 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.1816, allocations: 20 kB / 0.6587 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1816, allocations: 12 kB / 0.6587 GB, free: 3.332 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1828, allocations: 0.6324 MB / 0.6593 GB, free: 2.695 MB / 462.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.00427/0.187, allocations: 2.619 MB / 0.6619 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.1987, allocations: 2.815 MB / 0.6647 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.1996, allocations: 446.3 kB / 0.6651 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.1997, allocations: 8.562 kB / 0.6651 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1997, allocations: 43.12 kB / 0.6651 GB, free: 12.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.715e-06/0.1998, allocations: 0 / 0.6651 GB, free: 12.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01228/0.212, allocations: 3.523 MB / 0.6686 GB, free: 9.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2121, allocations: 63.97 kB / 0.6686 GB, free: 8.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2132, allocations: 0.7584 MB / 0.6694 GB, free: 8.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.2133, allocations: 37.7 kB / 0.6694 GB, free: 8.121 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.2136, allocations: 352.6 kB / 0.6697 GB, free: 7.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.2138, allocations: 217 kB / 0.67 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.2142, allocations: 162.5 kB / 0.6701 GB, free: 7.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2143, allocations: 398.7 kB / 0.6705 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/0.2153, allocations: 0.4939 MB / 0.671 GB, free: 6.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.2163, allocations: 0.6031 MB / 0.6716 GB, free: 5.871 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/0.2318, allocations: 3.564 MB / 0.675 GB, free: 2.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2319, allocations: 0 / 0.675 GB, free: 2.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007137/0.239, allocations: 2.384 MB / 0.6774 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.2391, allocations: 8 kB / 0.6774 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2391, allocations: 4 kB / 0.6774 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/0.2432, allocations: 1.05 MB / 0.6784 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.2441, allocations: 151.7 kB / 0.6785 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.2543, allocations: 5.067 MB / 0.6835 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.2555, allocations: 107.2 kB / 0.6836 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.2556, allocations: 35.98 kB / 0.6836 GB, free: 9.301 MB / 494.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.0004656/0.2561, allocations: 222.2 kB / 0.6838 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.2563, allocations: 86.91 kB / 0.6839 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.2619, allocations: 1.937 MB / 0.6858 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.262, allocations: 8 kB / 0.6858 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.262, allocations: 4 kB / 0.6858 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.262, allocations: 3.984 kB / 0.6858 GB, free: 7.016 MB / 494.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.00677/0.2688, allocations: 3.032 MB / 0.6888 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2688, allocations: 3.938 kB / 0.6888 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.2692, allocations: 67.91 kB / 0.6889 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.2723, allocations: 0.9409 MB / 0.6898 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.2724, allocations: 12 kB / 0.6898 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/0.2804, allocations: 4.098 MB / 0.6938 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2805, allocations: 4 kB / 0.6938 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.2871, allocations: 2.511 MB / 0.6963 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.2874, allocations: 187.9 kB / 0.6964 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2876, allocations: 15.98 kB / 0.6964 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.2883, allocations: 51.94 kB / 0.6965 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.2886, allocations: 116.4 kB / 0.6966 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.2887, allocations: 16 kB / 0.6966 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006752/0.2894, allocations: 0.5186 MB / 0.6971 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 4 kB / 0.6971 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00096/0.2904, allocations: 295.8 kB / 0.6974 GB, free: 10.87 MB / 0.4981 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 () * 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.0002773/0.2906, allocations: 131 kB / 0.6975 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00418/0.2948, allocations: 1.73 MB / 0.6992 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2948, allocations: 0 / 0.6992 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.2974, allocations: 1.076 MB / 0.7003 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.298, allocations: 66.94 kB / 0.7003 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.3005, allocations: 1.535 MB / 0.7018 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.301, allocations: 0.9421 MB / 0.7028 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3012, allocations: 55.61 kB / 0.7028 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.3012, allocations: 4 kB / 0.7028 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.02254/0.3238, allocations: 20.48 MB / 0.7228 GB, free: 0.6445 MB / 0.5137 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)